public class SetCredentialsTask
extends org.gradle.api.DefaultTask
| Constructor and Description |
|---|
SetCredentialsTask() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Gets the key.
|
void |
onAction()
Is executed from gradle when running the 'setCredentials' task.
|
void |
setCredentials(Credentials credentials)
Sets the credentials.
|
void |
setKey(java.lang.String key)
Sets the key.
|
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic void setCredentials(Credentials credentials)
credentials - Credentials.public java.lang.String getKey()
public void setKey(java.lang.String key)
key - Key.public void onAction()
throws java.io.IOException
java.io.IOException - If something went wrong while setting credentials.