Groovy Documentation

org.ajoberstar.gradle.git.tasks
[Java] Class GitSource

java.lang.Object
  org.gradle.api.DefaultTask
      org.ajoberstar.gradle.git.tasks.GitBase
          org.ajoberstar.gradle.git.tasks.GitSource
All Implemented Interfaces:
PatternFilterable

public abstract class GitSource
extends GitBase

Base class for Git commands that act upon source files within the repository.

Since:
0.1.0


Field Summary
protected PatternFilterable patternSet

 
Method Summary
PatternFilterable exclude(java.lang.String... arg0)

{@inheritDoc}

PatternFilterable exclude(java.lang.Iterable arg0)

{@inheritDoc}

PatternFilterable exclude(Spec arg0)

{@inheritDoc}

PatternFilterable exclude(groovy.lang.Closure arg0)

{@inheritDoc}

java.util.Set getExcludes()

{@inheritDoc}

java.util.Set getIncludes()

{@inheritDoc}

FileTree getSource()

Gets the source files this task will act on.

PatternFilterable include(java.lang.String... arg0)

{@inheritDoc}

PatternFilterable include(java.lang.Iterable arg0)

{@inheritDoc}

PatternFilterable include(Spec arg0)

{@inheritDoc}

PatternFilterable include(groovy.lang.Closure arg0)

{@inheritDoc}

PatternFilterable setExcludes(java.lang.Iterable arg0)

{@inheritDoc}

PatternFilterable setIncludes(java.lang.Iterable arg0)

{@inheritDoc}

 
Methods inherited from class GitBase
getGit, getRepoDir, setRepoPath
 

Field Detail

patternSet

protected PatternFilterable patternSet


 
Method Detail

exclude

public PatternFilterable exclude(java.lang.String... arg0)
{@inheritDoc}


exclude

public PatternFilterable exclude(java.lang.Iterable arg0)
{@inheritDoc}


exclude

public PatternFilterable exclude(Spec arg0)
{@inheritDoc}


exclude

@SuppressWarnings("rawtypes")
public PatternFilterable exclude(groovy.lang.Closure arg0)
{@inheritDoc}


getExcludes

public java.util.Set getExcludes()
{@inheritDoc}


getIncludes

public java.util.Set getIncludes()
{@inheritDoc}


getSource

@InputFiles
public FileTree getSource()
Gets the source files this task will act on. The patterns configured on this task are evaluated against the repo directory to determine the files.
Returns:
the source files


include

public PatternFilterable include(java.lang.String... arg0)
{@inheritDoc}


include

public PatternFilterable include(java.lang.Iterable arg0)
{@inheritDoc}


include

public PatternFilterable include(Spec arg0)
{@inheritDoc}


include

@SuppressWarnings("rawtypes")
public PatternFilterable include(groovy.lang.Closure arg0)
{@inheritDoc}


setExcludes

public PatternFilterable setExcludes(java.lang.Iterable arg0)
{@inheritDoc}


setIncludes

public PatternFilterable setIncludes(java.lang.Iterable arg0)
{@inheritDoc}


 

Groovy Documentation