Class ReadEnvironment

  • All Implemented Interfaces:
    Task<FlowContext>

    public final class ReadEnvironment
    extends Object
    implements Task<FlowContext>
    Reads important information from the root resource like product name and version, operation mode and management version. Executes the :whoami operation to get the current user / roles.
    • Method Detail

      • apply

        public elemental2.promise.Promise<FlowContext> apply​(FlowContext context)
        Description copied from interface: Task
        Executes the task.
        Specified by:
        apply in interface Task<FlowContext>
        Parameters:
        context - the context shared between tasks
        Returns:
        a promise containing the shared context