Class ResourceSynchronizationResultStep

  • All Implemented Interfaces:
    ResourceResult

    public class ResourceSynchronizationResultStep
    extends Object
    implements ResourceResult
    One step of the results of a resource synchronization (or test).
    Author:
    AO Industries, Inc.
    • Constructor Detail

      • ResourceSynchronizationResultStep

        public ResourceSynchronizationResultStep​(long startTime,
                                                 long endTime,
                                                 ResourceStatus resourceStatus,
                                                 String description,
                                                 CharSequence output,
                                                 CharSequence warning,
                                                 CharSequence error)
        Parameters:
        description - May not be null
        output - null or empty is converted to empty list
        warning - null or empty is converted to empty list
        error - null or 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 be null
        outputs - null is converted to empty list and a defensive copy is made
        warnings - null is converted to empty list and a defensive copy is made
        errors - null is converted to empty list and a defensive copy is made
    • Method Detail

      • getDescription

        public String getDescription()
        Gets the description for this step.
      • getOutputs

        public List<String> getOutputs()
        Gets the outputs associated with this test or empty list for none.
      • getWarnings

        public List<String> getWarnings()
        Gets the warnings associated with this test or empty list for none.
      • getErrors

        public List<String> getErrors()
        Gets the errors associated with this test or empty list for none.