Class LsOperation

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LsOperationResult execute()
      Executes the operation synchronously and returns a result when the operation exits.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • execute

        public LsOperationResult execute()
                                  throws java.lang.Exception
        Description copied from class: Operation
        Executes the operation synchronously and returns a result when the operation exits. Using covariance is recommend, that is OperationFoo should override execute so as to return a OperationFooResult rather than OperationResult.
        Specified by:
        execute in class Operation
        Returns:
        Returns an operation-specific operation result
        Throws:
        java.lang.Exception - If the operation fails