Class AddOrUpdateResourceHelper.ResourceOperationResult

    • Constructor Detail

      • ResourceOperationResult

        protected ResourceOperationResult​(Resource resource)
        constructor in case of a successful operation
        Parameters:
        resource - The resource of this operation
      • ResourceOperationResult

        protected ResourceOperationResult​(List<Resource> resources)
        constructor in case of a successful unzip operation
        Parameters:
        resources - The list of resource for this operation
      • ResourceOperationResult

        protected ResourceOperationResult​(String errorMessage)
        constructor in case of an error
        Parameters:
        errorMessage - The error message.
    • Method Detail

      • getResources

        public List<ResourcegetResources()
        Retrieves the list of resources, in case of an unzip.
        Returns:
        the resource
      • isUnzip

        public boolean isUnzip()
        Retrieves the unzip
        Returns:
        the unzip
      • isSuccess

        public boolean isSuccess()
        Retrieves the success
        Returns:
        the success