public boolean isPlanSane ( Plan plan ) { if ( plan == null ) { logger . warn ( "did not find plan" ) ; return false ; } if ( plan . isDisabled ( ) ) { logger . debug ( "disabled " + plan . getName ( ) ) ; return false ; } if ( plan . getFeedDesc ( ) == null ) { logger . warn ( "feed was null " + plan . getName ( ) ) ; return false ; } return true ; }
Determines if the plan can be run . IE not disabled and not malformed