protected static class SunDeploymentManager.DeploymentFacilityModuleWork extends Object
Constructor and Description |
---|
DeploymentFacilityModuleWork(String moduleID)
Creates a new instance of DeploymentFacilityModuleWork.
|
Modifier and Type | Method and Description |
---|---|
void |
addTarget(javax.enterprise.deploy.spi.Target target)
Adds a target to the collection of targets for the work to be done for this distinct
module.
|
String |
getModuleID()
Reports the module ID for this instance of DeploymentFacilityModuleWork
|
javax.enterprise.deploy.spi.status.ProgressObject |
getProgressObject()
Returns the
ProgressObject that the DeploymentFacility method
returned when it was invoked. |
void |
setProgressObject(javax.enterprise.deploy.spi.status.ProgressObject progressObject)
Records the
ProgressObject that the DeploymentFacility returned
when its method was invoked. |
javax.enterprise.deploy.spi.Target[] |
targets()
Returns an array of
Target instances recorded for
this module. |
public DeploymentFacilityModuleWork(String moduleID)
moduleID
- the module ID common to all work recorded in this instancepublic void addTarget(javax.enterprise.deploy.spi.Target target)
target
- the Target
to be added for this modulepublic javax.enterprise.deploy.spi.Target[] targets()
Target
instances recorded for
this module. Note the return of an array of runtime type TargetImpl[].public javax.enterprise.deploy.spi.status.ProgressObject getProgressObject()
ProgressObject
that the DeploymentFacility method
returned when it was invoked.public void setProgressObject(javax.enterprise.deploy.spi.status.ProgressObject progressObject)
ProgressObject
that the DeploymentFacility returned
when its method was invoked.progressObject
- the ProgressObject provided by the DeploymentFacility methodpublic String getModuleID()
Copyright © 2020. All rights reserved.