public final class EclipseJkBean extends JkBean
Modifier and Type | Field and Description |
---|---|
java.lang.String |
jreContainer
If not null, this value will be used as the JRE container path when generating .classpath file.
|
boolean |
useVarPath
Flag to set whether 'all' task should use absolute paths instead of classpath variables
|
Modifier | Constructor and Description |
---|---|
protected |
EclipseJkBean() |
Modifier and Type | Method and Description |
---|---|
EclipseJkBean |
addAccessRule(JkDependency dependency,
java.lang.String kind,
java.lang.String pattern)
For the specified dependency, specify a child accessrule tag to add to the mapping classpathentry tag.
|
EclipseJkBean |
addAttribute(JkDependency dependency,
java.lang.String name,
java.lang.String value)
For the specified dependency, specify a child attribute tag to add to the mapping classpathentry tag.
|
void |
all() |
void |
files() |
protected void |
postInit() |
void |
setStandardJREContainer(java.lang.String jreName)
Set the JRE container to the Eclipse Standard VM type with the desired name.
|
clean, getBaseDir, getImportedJkBeans, getOutputDir, getRuntime, help, init, toString
public java.lang.String jreContainer
public boolean useVarPath
public void setStandardJREContainer(java.lang.String jreName)
public void files()
public void all()
public EclipseJkBean addAttribute(JkDependency dependency, java.lang.String name, java.lang.String value)
dependency
- The dependency paired to the classpathentry we want generate `JkModuleDependency
or a
JkFileSystemDependency
.
If it is a module dependency, it can be a direct or transitive dependency and only group:name
is relevant.public EclipseJkBean addAccessRule(JkDependency dependency, java.lang.String kind, java.lang.String pattern)
dependency
- The dependency paired to the classpathentry we want generate `JkModuleDependency
or a
JkFileSystemDependency
.
If it is a module dependency, it can be a direct or transitive dependency and only group:name
is relevant.