com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ICommand

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


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

    Defines a command.

    • 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.