public final class StartContext extends MonitoringContext
Constructor and Description |
---|
StartContext(com.orchestranetworks.service.Session userSession)
Instantiates a new start context.
|
Modifier and Type | Method and Description |
---|---|
String |
getBusinessId()
Returns the business id.
|
com.onwbp.adaptation.Adaptation |
getDataset()
Returns the data set.
|
com.onwbp.adaptation.AdaptationHome |
getDataspace()
Returns the data space.
|
ParametersMap |
getInputParameters()
Returns the input parameters.
|
int |
getMaxDurationInMinutes()
Returns the maximum duration in minutes.
|
String |
getProductCode()
Returns the product code.
|
List<com.onwbp.adaptation.PrimaryKey> |
getRecords()
Returns the list of the record's
PrimaryKey . |
String |
getServiceName()
Returns the service name.
|
com.orchestranetworks.schema.Path |
getTablePath()
Returns the path of the table.
|
void |
setBusinessId(String businessId)
Sets the business id.
|
void |
setDataset(com.onwbp.adaptation.Adaptation dataset)
Sets the data set.
|
void |
setDataspace(com.onwbp.adaptation.AdaptationHome dataSpace)
Sets the data space.
|
void |
setInputParameters(ParametersMap inputParameters)
Sets the input parameters.
|
void |
setMaxDurationInMinutes(int maxDurationInMinutes)
Sets the maximum duration in minutes.
|
void |
setProductCode(String productCode)
Sets the product code.
|
void |
setRecords(List<com.onwbp.adaptation.PrimaryKey> records)
Sets the list of record's
PrimaryKey . |
void |
setServiceName(String serviceName)
Sets the service name.
|
void |
setTablePath(com.orchestranetworks.schema.Path tablePath)
Sets the path of the table.
|
getSession
public StartContext(com.orchestranetworks.service.Session userSession)
userSession
- the user sessionpublic String getProductCode()
public void setProductCode(String productCode)
productCode
- the new product codepublic String getServiceName()
public void setServiceName(String serviceName)
serviceName
- the new service namepublic List<com.onwbp.adaptation.PrimaryKey> getRecords()
PrimaryKey
.public void setRecords(List<com.onwbp.adaptation.PrimaryKey> records)
PrimaryKey
.records
- the new recordspublic com.orchestranetworks.schema.Path getTablePath()
public void setTablePath(com.orchestranetworks.schema.Path tablePath)
Returns null
if there is no table information in monitoring table.
tablePath
- the new table pathpublic com.onwbp.adaptation.Adaptation getDataset()
public void setDataset(com.onwbp.adaptation.Adaptation dataset)
Returns null
if there is no data set information in monitoring table.
dataset
- the new datasetpublic com.onwbp.adaptation.AdaptationHome getDataspace()
public void setDataspace(com.onwbp.adaptation.AdaptationHome dataSpace)
Returns null
, if there is no data space information in monitoring table.
dataSpace
- the new dataspacepublic int getMaxDurationInMinutes()
public void setMaxDurationInMinutes(int maxDurationInMinutes)
If the max duration time is larger than zero, it will be updated in the monitoring. Otherwise, it is not updated.
maxDurationInMinutes
- the new max duration in minutespublic ParametersMap getInputParameters()
public void setInputParameters(ParametersMap inputParameters)
inputParameters
- the new input parameterspublic String getBusinessId()
public void setBusinessId(String businessId)
businessId
- the business id