private boolean checkCommandTypeSupported ( BaseCommand command ) { // for command type none or composite // we dont support adding it as base command if ( ( command . getCommandType ( ) == BaseCommand . COMMAND_TYPE . NONE ) || ( command . getCommandType ( ) == BaseCommand . COMMAND_TYPE . COMPOSITE ) ) { return false ; } return true ; }
workflow or not