TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.models.common.facades.behavioral
Interface IDeployableComponent

All Superinterfaces:
INamedElement
All Known Subinterfaces:
CFGClass, DPLDatapool, IImplementor, ISystemUnderTest, ITestComponent, TPFArbiter, TPFBehavior, TPFDefault, TPFSUT, TPFTestComponent, TPFTestSuite
All Known Implementing Classes:
CFGClassImpl, DPLDatapoolImpl, TPFArbiterImpl, TPFBehaviorImpl, TPFDefaultImpl, TPFSUTImpl, TPFTestComponentImpl, TPFTestSuiteImpl

public interface IDeployableComponent
extends INamedElement

A deployable component is anything that can be deployed and invoked as part of a test. The component is characterized by a location and a resource that specifies where and what is to be invoked. Each deployable component can belong to one and only one test suite.


Method Summary
 IPropertyGroup getEnvironmentVariables()
          Gets the environment variables associated with this component.
 java.lang.String getLocation()
          Returns the location of the deployable component.
 java.util.List getMethods()
          Gets the methods of this component.
 ITest getOwner()
          Returns the test suite that owns this deployable component.
 java.lang.String getResource()
          Returns the resource of the deployable component.
 void setLocation(java.lang.String location)
          Sets the location of the deployable component.
 void setResource(java.lang.String resource)
          Sets the resource of the deployable component.
 
Methods inherited from interface org.eclipse.hyades.models.common.facades.behavioral.INamedElement
getDescription, getId, getName, setDescription, setId, setName
 

Method Detail

getOwner

ITest getOwner()
Returns the test suite that owns this deployable component.

This reference is bidirectional and its opposite is ITestSuite#getTestComponents().

Returns:
ITestSuite

getResource

java.lang.String getResource()
Returns the resource of the deployable component.

Returns:
String

setResource

void setResource(java.lang.String resource)
Sets the resource of the deployable component.

Parameters:
resource -

getLocation

java.lang.String getLocation()
Returns the location of the deployable component.

Returns:
String

setLocation

void setLocation(java.lang.String location)
Sets the location of the deployable component.

Parameters:
location -

getMethods

java.util.List getMethods()
Gets the methods of this component.


getEnvironmentVariables

IPropertyGroup getEnvironmentVariables()
Gets the environment variables associated with this component.


TPTP 4.5.0 Platform Project
Public API Specification