java.lang.Object
com.aoapps.appcluster.ResourceSynchronizationResult
- All Implemented Interfaces:
ResourceResult
Contains the results of one resource synchronization.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionResourceSynchronizationResult
(ResourceNode<?, ?> localResourceNode, ResourceNode<?, ?> remoteResourceNode, ResourceSynchronizationMode mode, Collection<ResourceSynchronizationResultStep> steps) -
Method Summary
Modifier and TypeMethodDescriptionThe end time is the latest end time of any step.ResourceNode
<?, ?> getMode()
Gets the mode of this synchronization.ResourceNode
<?, ?> The resource status is the highest level resource status of any step.The start time is the earliest start time of any step.getSteps()
Gets the steps for this synchronization.
-
Constructor Details
-
ResourceSynchronizationResult
public ResourceSynchronizationResult(ResourceNode<?, ?> localResourceNode, ResourceNode<?, ?> remoteResourceNode, ResourceSynchronizationMode mode, Collection<ResourceSynchronizationResultStep> steps) - Parameters:
steps
- At least one step is required.
-
-
Method Details
-
getLocalResourceNode
-
getRemoteResourceNode
-
getStartTime
The start time is the earliest start time of any step.- Specified by:
getStartTime
in interfaceResourceResult
-
getEndTime
The end time is the latest end time of any step.- Specified by:
getEndTime
in interfaceResourceResult
-
getResourceStatus
The resource status is the highest level resource status of any step.- Specified by:
getResourceStatus
in interfaceResourceResult
-
getMode
Gets the mode of this synchronization. -
getSteps
Gets the steps for this synchronization.
-