org.rhq.core.clientapi.agent.bundle
Class BundleScheduleRequest
java.lang.Object
org.rhq.core.clientapi.agent.bundle.BundleScheduleRequest
- All Implemented Interfaces:
- Serializable
public class BundleScheduleRequest
- extends Object
- implements Serializable
The request that the server sends down to the agent to schedule a bundle deployment.
- Author:
- John Mazzitelli
- See Also:
- Serialized Form
|
Constructor Summary |
BundleScheduleRequest(org.rhq.core.domain.bundle.BundleResourceDeployment resourceDeployment)
|
BundleScheduleRequest
public BundleScheduleRequest(org.rhq.core.domain.bundle.BundleResourceDeployment resourceDeployment)
getBundleResourceDeployment
public org.rhq.core.domain.bundle.BundleResourceDeployment getBundleResourceDeployment()
- Returns:
- Data describing what needs to get deployed.
getRequestedDeployTime
public Long getRequestedDeployTime()
- Returns:
- the time the deployment should be scheduled to happen, in epoch millis.
getRequestedDeployTimeAsString
public String getRequestedDeployTimeAsString()
isCleanDeployment
public boolean isCleanDeployment()
- Returns:
- flag to indicate if the deployment directory should have all of its files deleted
prior to deploying the new files. All files in the deployment directory will be cleaned,
including files/directories that are marked to be "ignored".
setCleanDeployment
public void setCleanDeployment(boolean isCleanDeployment)
isRevert
public boolean isRevert()
- Returns:
- flag to indicate if this bundle deployment request is reverting a deployment back to
a previous state. Reverting means that any files backed up from the last deployment
are reverted to their original state.
setRevert
public void setRevert(boolean isRevert)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.