Class ServicePoolTask

  • All Implemented Interfaces:
    ITask

    public class ServicePoolTask
    extends java.lang.Object
    implements ITask
    • Field Detail

      • PROPERTY_OLD_MAPPINGS

        public static final java.lang.String PROPERTY_OLD_MAPPINGS
        Parameter for mappings.
        See Also:
        Constant Field Values
      • PROPERTY_CLASS_INFOS

        public static final java.lang.String PROPERTY_CLASS_INFOS
        Parameter for class infos.
        See Also:
        Constant Field Values
      • PROPERTY_FILE_INFOS

        public static final java.lang.String PROPERTY_FILE_INFOS
        Parameter for file infos.
        See Also:
        Constant Field Values
      • PROPERTY_MONITORINGS

        public static final java.lang.String PROPERTY_MONITORINGS
        Parameter for monitoring flags.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServicePoolTask

        public ServicePoolTask()
    • Method Detail

      • execute

        public IFuture<java.lang.Void> execute​(ITaskContext context,
                                               IInternalAccess process)
        Execute the task.
        Specified by:
        execute in interface ITask
        Parameters:
        context - The accessible values.
        process - The process instance executing the task.
        Returns:
        To be notified, when the task has completed.
      • cancel

        public IFuture<java.lang.Void> cancel​(IInternalAccess instance)
        Compensate in case the task is canceled.
        Specified by:
        cancel in interface ITask
        Returns:
        To be notified, when the compensation has completed.
      • generateExpressionString

        public static final java.lang.String generateExpressionString​(int colnum,
                                                                      java.util.List<ServicePoolTask.MappingEntry> entries)
      • getMappingEntries

        public static final java.util.List<ServicePoolTask.MappingEntry> getMappingEntries​(java.lang.String[] oldmaps,
                                                                                           java.lang.String[] classinfos,
                                                                                           java.lang.String[] fileinfos,
                                                                                           java.lang.String[] monitorings)
        Retrieve mapping entries.
      • main

        public static void main​(java.lang.String[] args)