BEAST
eu.baltrad.beast.admin.command.AdaptorCommand Class Reference

Commands affecting adaptors. More...

Inheritance diagram for eu.baltrad.beast.admin.command.AdaptorCommand:
eu.baltrad.beast.admin.Command

Public Member Functions

 AdaptorCommand ()
 Constructor.
 
 AdaptorCommand (String operation)
 Constructor.
 
 AdaptorCommand (String operation, Adaptor adaptor)
 Constructor.
 
String getOperation ()
 
void setOperation (String operation)
 
boolean validate ()
 
Adaptor getAdaptor ()
 
void setAdaptor (Adaptor adaptor)
 
List< AdaptorgetImportedAdaptors ()
 
void setImportedAdaptors (List< Adaptor > importedAdaptors)
 
- 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_adaptor"
 
static final String UPDATE = "update_adaptor"
 
static final String REMOVE = "remove_adaptor"
 
static final String GET = "get_adaptor"
 
static final String LIST = "list_adaptors"
 
static final String EXPORT = "export_adaptors"
 
static final String IMPORT = "import_adaptors"
 
static final String DROP = "drop_adaptors"
 

Protected Member Functions

boolean validateUri (String uri)
 

Detailed Description

Commands affecting adaptors.

Author
anders

Constructor & Destructor Documentation

◆ AdaptorCommand() [1/3]

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

Constructor.

◆ AdaptorCommand() [2/3]

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

Constructor.

Parameters
operationthe operation

◆ AdaptorCommand() [3/3]

eu.baltrad.beast.admin.command.AdaptorCommand.AdaptorCommand ( String operation,
Adaptor adaptor )
inline

Constructor.

Parameters
operationthe operation
adaptorthe adaptor affected

Member Function Documentation

◆ getAdaptor()

Adaptor eu.baltrad.beast.admin.command.AdaptorCommand.getAdaptor ( )
inline
Returns
the adaptor

◆ getImportedAdaptors()

List< Adaptor > eu.baltrad.beast.admin.command.AdaptorCommand.getImportedAdaptors ( )
inline
Returns
the importedAdaptors

◆ getOperation()

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

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

◆ setAdaptor()

void eu.baltrad.beast.admin.command.AdaptorCommand.setAdaptor ( Adaptor adaptor)
inline
Parameters
adaptorthe adaptor to set

◆ setImportedAdaptors()

void eu.baltrad.beast.admin.command.AdaptorCommand.setImportedAdaptors ( List< Adaptor > importedAdaptors)
inline
Parameters
importedAdaptorsthe importedAdaptors to set

◆ setOperation()

void eu.baltrad.beast.admin.command.AdaptorCommand.setOperation ( String operation)
inline
Parameters
operationthe operation to set

◆ validate()

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

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