
Public Member Functions | |
| ComponentSpec (String name, String type, String code, String container) | |
| ComponentSpec (String componentSpec) throws IllegalArgumentException | |
| String | getContainer () |
| String | getCode () |
| String | getType () |
| String | getName () |
| void | setContainer (String container) |
| void | setCode (String code) |
| void | setType (String type) |
| void | setName (String name) |
| String | toString () |
Static Public Attributes | |
| static final String | COMPSPEC_ANY = "*" |
Private Member Functions | |
| void | parseComponentSpec (String componentSpec) throws IllegalArgumentException |
Private Attributes | |
| String | name |
| String | type |
| String | code |
| String | container |
Structure containing all fields necessary to describe a component and its deployment information. Used for dynamic component instatiation.
| com::cosylab::acs::maci::ComponentSpec::ComponentSpec | ( | String | name, | |
| String | type, | |||
| String | code, | |||
| String | container | |||
| ) | [inline] |
Creates an instance of ComponentInfo with all necesarry data. @//param curl curl of the component.
| name | name of the component. | |
| type | type of the component. | |
| code | code of the component. | |
| container | container hosting the component. |
| com::cosylab::acs::maci::ComponentSpec::ComponentSpec | ( | String | componentSpec | ) | throws IllegalArgumentException [inline] |
Creates an instance of ComponentInfo from stringified ComponentSpec.
| componentSpec | stringified ComponentSpec, non-null |
| BadParametersException |
References parseComponentSpec().
| String com::cosylab::acs::maci::ComponentSpec::getCode | ( | ) | [inline] |
Returns the code.
References code.
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerPostLoginActivation().
| String com::cosylab::acs::maci::ComponentSpec::getContainer | ( | ) | [inline] |
Returns the container.
References container.
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerPostLoginActivation().
| String com::cosylab::acs::maci::ComponentSpec::getName | ( | ) | [inline] |
Returns the CURL.
References name.
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerPostLoginActivation().
| String com::cosylab::acs::maci::ComponentSpec::getType | ( | ) | [inline] |
Returns the type.
References type.
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerPostLoginActivation().
| void com::cosylab::acs::maci::ComponentSpec::parseComponentSpec | ( | String | componentSpec | ) | throws IllegalArgumentException [inline, private] |
Creates an instance of ComponentInfo from stringified ComponentSpec. Format:
name + "|" + type + "|" + code + "|" + containerName
Empty fields are allowed.
| componentSpec | stringified ComponentSpec |
| BadParametersException |
References code, container, name, and type.
Referenced by ComponentSpec().
| void com::cosylab::acs::maci::ComponentSpec::setCode | ( | String | code | ) | [inline] |
Sets the code.
| code | The component's code. |
| void com::cosylab::acs::maci::ComponentSpec::setContainer | ( | String | container | ) | [inline] |
Sets the container.
| container | The container to set |
| void com::cosylab::acs::maci::ComponentSpec::setName | ( | String | name | ) | [inline] |
Sets the CURL.
| curl | The CURL to set. Sets the name. | |
| name | The name to set |
| void com::cosylab::acs::maci::ComponentSpec::setType | ( | String | type | ) | [inline] |
Sets the type.
| type | The type to set |
| String com::cosylab::acs::maci::ComponentSpec::toString | ( | ) | [inline] |
String com::cosylab::acs::maci::ComponentSpec::code [private] |
The code of the component. Code is a identifying component's executable code (library/class name).
Referenced by getCode(), parseComponentSpec(), and toString().
final String com::cosylab::acs::maci::ComponentSpec::COMPSPEC_ANY = "*" [static] |
Any ComponentSpec string.
String com::cosylab::acs::maci::ComponentSpec::container [private] |
Name of the container which hosts the component.
Referenced by getContainer(), parseComponentSpec(), and toString().
String com::cosylab::acs::maci::ComponentSpec::name [private] |
CURL of the component.
Referenced by getName(), parseComponentSpec(), and toString().
String com::cosylab::acs::maci::ComponentSpec::type [private] |
The type of the component.
Referenced by getType(), parseComponentSpec(), and toString().
1.6.2