Class RunAction

    • Constructor Detail

      • RunAction

        public RunAction​(ActionRegistry registry,
                         String shortName,
                         CommandLineArgs args,
                         com.google.common.collect.ImmutableMap<String,​String> env)
        Parameters:
        registry - the ActionRegistry to registry this action for.
        shortName - the short name to use in logging, console activity, etc. See AbstractAction.getShortName()
        args - the arguments to evaluate and use when executing the application. This evaluation is not done until the action is executed, and at least one argument must be provided.
        env - any environment variables that should override the original environment.
    • Method Detail

      • isCacheable

        public boolean isCacheable()
        Description copied from interface: Action
        TODO(bobyf): should we still have this or should we enforce everything to be cacheable
        Returns:
        whether the output Artifacts should be cached