public final class EclipseKBean extends KBean
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
|
Constructor and Description |
---|
EclipseKBean() |
Modifier and Type | Method and Description |
---|---|
EclipseKBean |
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.
|
EclipseKBean |
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()
Deprecated.
Use
sync() instead. |
void |
setStandardJREContainer(java.lang.String jreName)
Set the JRE container to the Eclipse Standard VM type with the desired name.
|
void |
sync() |
cleanOutput, find, getBaseDir, getBaseDirName, getBasePath, getImportedKBeans, getOutputDir, getRunbase, init, load, toString
public java.lang.String jreContainer
public boolean useVarPath
public void setStandardJREContainer(java.lang.String jreName)
@Deprecated public void files()
sync()
instead.public void sync()
public void all()
public EclipseKBean addAttribute(JkDependency dependency, java.lang.String name, java.lang.String value)
dependency
- The dependency paired to the classpathentry we want generate `JkCoordinateDependency
or a
JkFileSystemDependency
.
If it is a module dependency, it can be a direct or transitive dependency and only group:name
is relevant.public EclipseKBean addAccessRule(JkDependency dependency, java.lang.String kind, java.lang.String pattern)
dependency
- The dependency paired to the classpathentry we want generate `JkCoordinateDependency
or a
JkFileSystemDependency
.
If it is a module dependency, it can be a direct or transitive dependency and only group:name
is relevant.