BEAST
eu.baltrad.beast.admin.command.ScheduleCommand Class Reference
Inheritance diagram for eu.baltrad.beast.admin.command.ScheduleCommand:
eu.baltrad.beast.admin.Command

Public Member Functions

 ScheduleCommand ()
 Constructor.
 
 ScheduleCommand (String operation)
 Constructor.
 
 ScheduleCommand (String operation, CronEntry entry)
 Constructor.
 
String getOperation ()
 
void setOperation (String operation)
 
boolean validate ()
 
CronEntry getEntry ()
 
void setEntry (CronEntry entry)
 
List< CronEntrygetImportedEntries ()
 
void setImportedEntries (List< CronEntry > entries)
 
- Public Member Functions inherited from eu.baltrad.beast.admin.Command
void setRawMessage (String s)
 Sets the RAW message used to populate the command.
 
String getRawMessage ()
 

Static Public Attributes

static final String ADD = "add_schedule"
 
static final String UPDATE = "update_schedule"
 
static final String REMOVE = "remove_schedule"
 
static final String GET = "get_schedule"
 
static final String LIST = "list_schedule"
 
static final String IMPORT = "import_schedule"
 
static final String EXPORT = "export_schedule"
 
static final String DROP = "drop_schedule"
 

Protected Member Functions

boolean validateExpression (String expression)
 Validates the cron expression.
 

Detailed Description

Author
anders

Constructor & Destructor Documentation

◆ ScheduleCommand() [1/3]

eu.baltrad.beast.admin.command.ScheduleCommand.ScheduleCommand ( )
inline

Constructor.

◆ ScheduleCommand() [2/3]

eu.baltrad.beast.admin.command.ScheduleCommand.ScheduleCommand ( String operation)
inline

Constructor.

Parameters
operation-the operation

◆ ScheduleCommand() [3/3]

eu.baltrad.beast.admin.command.ScheduleCommand.ScheduleCommand ( String operation,
CronEntry entry )
inline

Constructor.

Member Function Documentation

◆ getEntry()

CronEntry eu.baltrad.beast.admin.command.ScheduleCommand.getEntry ( )
inline
Returns
the entry

◆ getImportedEntries()

List< CronEntry > eu.baltrad.beast.admin.command.ScheduleCommand.getImportedEntries ( )
inline
Returns
the entries

◆ getOperation()

String eu.baltrad.beast.admin.command.ScheduleCommand.getOperation ( )
inline
Returns
the operation

Reimplemented from eu.baltrad.beast.admin.Command.

◆ setEntry()

void eu.baltrad.beast.admin.command.ScheduleCommand.setEntry ( CronEntry entry)
inline
Parameters
entrythe entry to set

◆ setImportedEntries()

void eu.baltrad.beast.admin.command.ScheduleCommand.setImportedEntries ( List< CronEntry > entries)
inline
Parameters
entriesthe entries to set

◆ setOperation()

void eu.baltrad.beast.admin.command.ScheduleCommand.setOperation ( String operation)
inline
Parameters
operationthe operation

◆ validate()

boolean eu.baltrad.beast.admin.command.ScheduleCommand.validate ( )
inline

◆ validateExpression()

boolean eu.baltrad.beast.admin.command.ScheduleCommand.validateExpression ( String expression)
inlineprotected

Validates the cron expression.

Returns
true if expression is valid

The documentation for this class was generated from the following file: