Module com.aoapps.appcluster.core
Package com.aoapps.appcluster
Class ResourceSynchronizationResultStep
java.lang.Object
com.aoapps.appcluster.ResourceSynchronizationResultStep
- All Implemented Interfaces:
ResourceResult
One step of the results of a resource synchronization (or test).
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorsConstructorDescriptionResourceSynchronizationResultStep(long startTime, long endTime, ResourceStatus resourceStatus, String description, CharSequence output, CharSequence warning, CharSequence error) ResourceSynchronizationResultStep(long startTime, long endTime, ResourceStatus resourceStatus, String description, Collection<String> outputs, Collection<String> warnings, Collection<String> errors) -
Method Summary
Modifier and TypeMethodDescriptionGets the description for this step.Gets the errors associated with this test or empty list for none.Gets the outputs associated with this test or empty list for none.Gets the resource status that this result will cause.Gets the warnings associated with this test or empty list for none.
-
Constructor Details
-
ResourceSynchronizationResultStep
public ResourceSynchronizationResultStep(long startTime, long endTime, ResourceStatus resourceStatus, String description, CharSequence output, CharSequence warning, CharSequence error) - Parameters:
description- May not benulloutput-nullor empty is converted to empty listwarning-nullor empty is converted to empty listerror-nullor empty is converted to empty list
-
ResourceSynchronizationResultStep
public ResourceSynchronizationResultStep(long startTime, long endTime, ResourceStatus resourceStatus, String description, Collection<String> outputs, Collection<String> warnings, Collection<String> errors) - Parameters:
description- May not benulloutputs-nullis converted to empty list and a defensive copy is madewarnings-nullis converted to empty list and a defensive copy is madeerrors-nullis converted to empty list and a defensive copy is made
-
-
Method Details
-
getStartTime
- Specified by:
getStartTimein interfaceResourceResult
-
getEndTime
- Specified by:
getEndTimein interfaceResourceResult
-
getResourceStatus
Gets the resource status that this result will cause.- Specified by:
getResourceStatusin interfaceResourceResult
-
getDescription
Gets the description for this step. -
getOutputs
Gets the outputs associated with this test or empty list for none. -
getWarnings
Gets the warnings associated with this test or empty list for none. -
getErrors
Gets the errors associated with this test or empty list for none.
-
