Class AdminServerTask<T>

    • Field Detail

      • log

        protected final org.infinispan.server.core.logging.Log log
    • Constructor Detail

      • AdminServerTask

        public AdminServerTask()
    • Method Detail

      • getName

        public final java.lang.String getName()
        Description copied from interface: Task
        Provides a name for the task. This is the name by which the task will be executed. Make sure the name is unique for task.
        Specified by:
        getName in interface Task
        Returns:
        name of the server task
      • getType

        public java.lang.String getType()
        Description copied from interface: Task
        Returns the type of task. This is dependent on the specific implementation.
        Specified by:
        getType in interface Task
      • execute

        public final T execute​(TaskContext taskContext)
      • requireParameter

        protected java.lang.String requireParameter​(java.util.Map<java.lang.String,​java.lang.String> parameters,
                                                    java.lang.String parameter)
      • getParameter

        protected java.lang.String getParameter​(java.util.Map<java.lang.String,​java.lang.String> parameters,
                                                java.lang.String parameter)
      • getTaskContextName

        public abstract java.lang.String getTaskContextName()
      • getTaskOperationName

        public abstract java.lang.String getTaskOperationName()