Package com.qulice.ant
Class AntEnvironment
- java.lang.Object
-
- com.qulice.ant.AntEnvironment
-
- All Implemented Interfaces:
Environment
public final class AntEnvironment extends Object implements Environment
Environment, passed from ant task to validators.- Since:
- 0.13
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.qulice.spi.Environment
Environment.Mock
-
-
Constructor Summary
Constructors Constructor Description AntEnvironment(com.qulice.ant.AntProject prjct, AntPath srcs, File clss, AntPath clsspth)
Public ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
basedir()
ClassLoader
classloader()
Collection<String>
classpath()
boolean
exclude(String check, String name)
Collection<String>
excludes(String checker)
Collection<File>
files(String pattern)
File
outdir()
String
param(String name, String value)
File
tempdir()
-
-
-
Method Detail
-
basedir
public File basedir()
- Specified by:
basedir
in interfaceEnvironment
-
tempdir
public File tempdir()
- Specified by:
tempdir
in interfaceEnvironment
-
outdir
public File outdir()
- Specified by:
outdir
in interfaceEnvironment
-
param
public String param(String name, String value)
- Specified by:
param
in interfaceEnvironment
-
classloader
public ClassLoader classloader()
- Specified by:
classloader
in interfaceEnvironment
-
classpath
public Collection<String> classpath()
- Specified by:
classpath
in interfaceEnvironment
-
files
public Collection<File> files(String pattern)
- Specified by:
files
in interfaceEnvironment
-
exclude
public boolean exclude(String check, String name)
- Specified by:
exclude
in interfaceEnvironment
-
excludes
public Collection<String> excludes(String checker)
- Specified by:
excludes
in interfaceEnvironment
-
-