Public Member Functions | Static Public Attributes

com.cosylab.acs.maci.ComponentSpec Class Reference

List of all members.

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 = "*"

Detailed Description

Structure containing all fields necessary to describe a component and its deployment information. Used for dynamic component instatiation.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Constructor & Destructor Documentation

com.cosylab.acs.maci.ComponentSpec.ComponentSpec ( String  name,
String  type,
String  code,
String  container 
)

Creates an instance of ComponentInfo with all necesarry data. @//param curl curl of the component.

Parameters:
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

Creates an instance of ComponentInfo from stringified ComponentSpec.

Parameters:
componentSpec stringified ComponentSpec, non-null
Exceptions:
BadParametersException 
See also:
parseComponentSpec

Member Function Documentation

String com.cosylab.acs.maci.ComponentSpec.getCode (  ) 

Returns the code.

Returns:
String
String com.cosylab.acs.maci.ComponentSpec.getContainer (  ) 

Returns the container.

Returns:
String
String com.cosylab.acs.maci.ComponentSpec.getName (  ) 

Returns the CURL.

Returns:
java.net.URI Returns the name.
String
String com.cosylab.acs.maci.ComponentSpec.getType (  ) 

Returns the type.

Returns:
String
void com.cosylab.acs.maci.ComponentSpec.setCode ( String  code  ) 

Sets the code.

Parameters:
code The component's code.
void com.cosylab.acs.maci.ComponentSpec.setContainer ( String  container  ) 

Sets the container.

Parameters:
container The container to set
void com.cosylab.acs.maci.ComponentSpec.setName ( String  name  ) 

Sets the CURL.

Parameters:
curl The CURL to set. Sets the name.
name The name to set
void com.cosylab.acs.maci.ComponentSpec.setType ( String  type  ) 

Sets the type.

Parameters:
type The type to set
String com.cosylab.acs.maci.ComponentSpec.toString (  ) 

Returns a single-line rendition of this instance into text.

Returns:
internal state of this instance

Member Data Documentation

Any ComponentSpec string.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties