com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ICommand

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public abstract class ICommand
    extends Object
    implements com.aspose.ms.System.IDisposable

    Defines a command.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ICommand() 
    • Constructor Detail

      • ICommand

        public ICommand()
    • Method Detail

      • canExecute

        public abstract boolean canExecute()

        Defines the operator that determines whether the command can execute in its current state.

      • execute

        public abstract ICommand execute()

        Defines the method to be called when the command is invoked.

        Returns:
        Returns next command to execute. By default returns itself.