Class FilePermissionsTask
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- org.elasticsearch.gradle.precommit.FilePermissionsTask
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
public class FilePermissionsTask extends org.gradle.api.DefaultTaskChecks source files for correct file permissions.
-
-
Constructor Summary
Constructors Constructor Description FilePermissionsTask()
-
Method Summary
Modifier and Type Method Description voidcheckInvalidPermissions()org.gradle.api.file.FileCollectiongetFiles()Returns the files this task will checkjava.io.FilegetOutputMarker()-
Methods inherited from class org.gradle.api.DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
-
-
-
-
Method Detail
-
getFiles
@InputFiles @SkipWhenEmpty public org.gradle.api.file.FileCollection getFiles()
Returns the files this task will check
-
checkInvalidPermissions
public void checkInvalidPermissions() throws java.io.IOException- Throws:
java.io.IOException
-
getOutputMarker
@OutputFile public java.io.File getOutputMarker()
-
-