Class RobotCommandArtifact
- java.lang.Object
-
- edu.wpi.first.deployutils.deploy.artifact.AbstractArtifact
-
- edu.wpi.first.deployutils.deploy.artifact.FileArtifact
-
- edu.wpi.first.gradlerio.deploy.roborio.RobotCommandArtifact
-
- All Implemented Interfaces:
edu.wpi.first.deployutils.deploy.artifact.Artifact,edu.wpi.first.deployutils.deploy.artifact.CacheableArtifact,org.gradle.api.Named
public class RobotCommandArtifact extends edu.wpi.first.deployutils.deploy.artifact.FileArtifact
-
-
Constructor Summary
Constructors Constructor Description RobotCommandArtifact(java.lang.String name, StagedDeployTarget target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(edu.wpi.first.deployutils.deploy.context.DeployContext ctx)java.util.function.Function<edu.wpi.first.deployutils.deploy.context.DeployContext,java.lang.String>getStartCommandFunc()voidsetStartCommandFunc(java.util.function.Function<edu.wpi.first.deployutils.deploy.context.DeployContext,java.lang.String> startCommandFunc)-
Methods inherited from class edu.wpi.first.deployutils.deploy.artifact.FileArtifact
getCacheMethod, getFile, getFilename
-
Methods inherited from class edu.wpi.first.deployutils.deploy.artifact.AbstractArtifact
allowStandaloneDeploy, dependsOn, dependsOnForDeployTask, dependsOnForStandaloneDeployTask, getDeployTask, getDirectory, getName, getOnlyIf, getPostdeploy, getPredeploy, getPreWorkerThread, getStandaloneDeployTask, getTarget, isDisabled, isEnabled, isExplicit, setDisabled, setDisabled, setExplicit, setOnlyIf, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface edu.wpi.first.deployutils.deploy.artifact.Artifact
allowStandaloneDeploy, dependsOn, dependsOnForDeployTask, dependsOnForStandaloneDeployTask, getDeployTask, getDirectory, getExtensionContainer, getPostdeploy, getPredeploy, getPreWorkerThread, getStandaloneDeployTask, getTarget, isDisabled, isEnabled, isExplicit, setDisabled, setExplicit, setOnlyIf
-
-
-
-
Constructor Detail
-
RobotCommandArtifact
@Inject public RobotCommandArtifact(java.lang.String name, StagedDeployTarget target)
-
-
Method Detail
-
getStartCommandFunc
public java.util.function.Function<edu.wpi.first.deployutils.deploy.context.DeployContext,java.lang.String> getStartCommandFunc()
-
setStartCommandFunc
public void setStartCommandFunc(java.util.function.Function<edu.wpi.first.deployutils.deploy.context.DeployContext,java.lang.String> startCommandFunc)
-
deploy
public void deploy(edu.wpi.first.deployutils.deploy.context.DeployContext ctx)
- Specified by:
deployin interfaceedu.wpi.first.deployutils.deploy.artifact.Artifact- Overrides:
deployin classedu.wpi.first.deployutils.deploy.artifact.FileArtifact
-
-