public class CopyAction extends AbstractAction
inputs, outputs, owner| Constructor and Description |
|---|
CopyAction(ActionRegistry actionRegistry,
Artifact input,
OutputArtifact output,
CopySourceMode mode)
Create an instance of
CopyAction |
| Modifier and Type | Method and Description |
|---|---|
ActionExecutionResult |
execute(ActionExecutionContext executionContext)
Executes this action as part of the build
|
boolean |
isCacheable()
TODO(bobyf): should we still have this or should we enforce everything to be cacheable
|
getBuildTarget, getDependencies, getID, getInputs, getOutputs, getOwner, getShortName, getSourcePathOutputsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoutputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionpublic CopyAction(ActionRegistry actionRegistry, Artifact input, OutputArtifact output, CopySourceMode mode)
CopyActionactionRegistry - the DefaultActionRegistry to register this actioninput - the input Artifact for this Action. This is the file to be copiedoutput - the outputs for this Action. This is the copy destinationmode - the CopySourceMode as needed by the filesystempublic ActionExecutionResult execute(ActionExecutionContext executionContext)
ActionexecutionContext - a set of information the action can use for executionActionExecutionResult indicating the status of execution