Package org.eclipse.steady.goals
Class GoalContext
- java.lang.Object
-
- org.eclipse.steady.goals.GoalContext
-
- All Implemented Interfaces:
Serializable
public class GoalContext extends Object implements Serializable
Represents the context of a goal execution. All its elements can be specified using the tenant, space and application related configuration settings.
-
-
Constructor Summary
Constructors Constructor Description GoalContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationgetApplication()Getter for the fieldapplication.SpacegetSpace()Getter for the fieldspace.TenantgetTenant()Getter for the fieldtenant.VulasConfigurationgetVulasConfiguration()Getter for the fieldvulasConfiguration.booleanhasApplication()hasApplication.booleanhasSpace()hasSpace.booleanhasTenant()hasTenant.voidsetApplication(Application _a)Setter for the fieldapplication.voidsetSpace(Space _s)Setter for the fieldspace.voidsetTenant(Tenant _t)Setter for the fieldtenant.voidsetVulasConfiguration(VulasConfiguration vulasConfiguration)Setter for the fieldvulasConfiguration.StringtoString()
-
-
-
Method Detail
-
hasTenant
public boolean hasTenant()
hasTenant.
- Returns:
- a boolean.
-
setTenant
public void setTenant(Tenant _t)
Setter for the field
tenant.- Parameters:
_t- aTenantobject.
-
hasSpace
public boolean hasSpace()
hasSpace.
- Returns:
- a boolean.
-
setSpace
public void setSpace(Space _s)
Setter for the field
space.- Parameters:
_s- aSpaceobject.
-
hasApplication
public boolean hasApplication()
hasApplication.
- Returns:
- a boolean.
-
getApplication
public Application getApplication()
Getter for the field
application.- Returns:
- a
Applicationobject.
-
setApplication
public void setApplication(Application _a)
Setter for the field
application.- Parameters:
_a- aApplicationobject.
-
getVulasConfiguration
public VulasConfiguration getVulasConfiguration()
Getter for the field
vulasConfiguration.- Returns:
- a
VulasConfigurationobject.
-
setVulasConfiguration
public void setVulasConfiguration(VulasConfiguration vulasConfiguration)
Setter for the field
vulasConfiguration.- Parameters:
vulasConfiguration- aVulasConfigurationobject.
-
-