public class OutputConfiguration
extends java.lang.Object
Type | Property and Description |
---|---|
boolean |
isSetDerived |
Modifier and Type | Class and Description |
---|---|
static class |
OutputConfiguration.SourceMapping
Specifies the output folder for a source folder (may be null, in which case the output folder of the enclosing
OutputConfiguration is used). |
Constructor and Description |
---|
OutputConfiguration(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.util.Set<java.lang.String> |
getOutputDirectories()
The output directories returned are project relative, e.g.
|
java.lang.String |
getOutputDirectory() |
java.lang.String |
getOutputDirectory(java.lang.String sourceFolder) |
java.util.Set<java.lang.String> |
getSourceFolders()
The source folders returned are project relative, e.g.
|
java.util.Set<OutputConfiguration.SourceMapping> |
getSourceMappings() |
int |
hashCode() |
boolean |
isCanClearOutputDirectory() |
boolean |
isCleanUpDerivedResources() |
boolean |
isCreateOutputDirectory() |
boolean |
isHideSyntheticLocalVariables() |
boolean |
isInstallDslAsPrimarySource() |
java.lang.Boolean |
isKeepLocalHistory() |
boolean |
isOverrideExistingResources() |
boolean |
isSetDerivedProperty() |
boolean |
isUseOutputPerSourceFolder() |
void |
setCanClearOutputDirectory(boolean canClearOutputDirectory)
whether the whole outputDirectory can be cleared.
|
void |
setCleanUpDerivedResources(boolean cleanUpDerivedResources)
whether derived resources should be deleted on clean.
|
void |
setCreateOutputDirectory(boolean createOutputDirectory)
whether the output directory should be created if t doesn't already exist.
|
void |
setDescription(java.lang.String description)
a description to be shown in the UI.
|
void |
setHideSyntheticLocalVariables(boolean hideSyntheticLocalVariables)
whether debug information should be removed from the class files for synthetic local variables.
|
void |
setInstallDslAsPrimarySource(boolean installDslAsPrimarySource)
whether the DSL files should be registered as primary source files for debugging in the generated
Java-class-files.
|
void |
setKeepLocalHistory(java.lang.Boolean keepLocalHistory)
whether local history should be kept for generated files.
|
void |
setOutputDirectory(java.lang.String outputDirectory)
the project relative path to the output directory
|
void |
setOverrideExistingResources(boolean overrideExistingResources)
whether existing resources should be overridden.
|
void |
setSetDerivedProperty(boolean setDerivedProperty)
whether the resources should be flagged as 'derived' Only used if the underlying file system implementation
supports such a property
|
void |
setUseOutputPerSourceFolder(boolean useOutputPerSourceFolder)
Whether to allow specifying output directories on a per source folder basis
|
public OutputConfiguration(java.lang.String name)
name
- - a unique name identifying this outlet configuration.public java.lang.String getName()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getOutputDirectory()
public void setOutputDirectory(java.lang.String outputDirectory)
public boolean isCleanUpDerivedResources()
public void setCleanUpDerivedResources(boolean cleanUpDerivedResources)
public boolean isOverrideExistingResources()
public void setOverrideExistingResources(boolean overrideExistingResources)
public boolean isSetDerivedProperty()
public void setSetDerivedProperty(boolean setDerivedProperty)
public boolean isCreateOutputDirectory()
public void setCreateOutputDirectory(boolean createOutputDirectory)
public boolean isCanClearOutputDirectory()
public void setCanClearOutputDirectory(boolean canClearOutputDirectory)
public boolean isInstallDslAsPrimarySource()
public void setInstallDslAsPrimarySource(boolean installDslAsPrimarySource)
public boolean isHideSyntheticLocalVariables()
public void setHideSyntheticLocalVariables(boolean hideSyntheticLocalVariables)
isInstallDslAsPrimarySource()
is true.public java.lang.Boolean isKeepLocalHistory()
public void setKeepLocalHistory(java.lang.Boolean keepLocalHistory)
public boolean isUseOutputPerSourceFolder()
public void setUseOutputPerSourceFolder(boolean useOutputPerSourceFolder)
public java.util.Set<OutputConfiguration.SourceMapping> getSourceMappings()
public java.lang.String getOutputDirectory(java.lang.String sourceFolder)
sourceFolder
- the project relative source folder, e.g. "src" or "src/main/java"public java.util.Set<java.lang.String> getSourceFolders()
public java.util.Set<java.lang.String> getOutputDirectories()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object