public class OutputConfiguration extends 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(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getName() |
Set<String> |
getOutputDirectories()
The output directories returned are project relative, e.g.
|
String |
getOutputDirectory() |
String |
getOutputDirectory(String sourceFolder) |
Set<String> |
getSourceFolders()
The source folders returned are project relative, e.g.
|
Set<OutputConfiguration.SourceMapping> |
getSourceMappings() |
int |
hashCode() |
boolean |
isCanClearOutputDirectory() |
boolean |
isCleanUpDerivedResources() |
boolean |
isCreateOutputDirectory() |
boolean |
isHideSyntheticLocalVariables() |
boolean |
isInstallDslAsPrimarySource() |
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(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(Boolean keepLocalHistory)
whether local history should be kept for generated files.
|
void |
setOutputDirectory(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
|
String |
toString() |
public OutputConfiguration(String name)
name - - a unique name identifying this outlet configuration.public String getName()
public String getDescription()
public void setDescription(String description)
public String getOutputDirectory()
public void setOutputDirectory(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 Boolean isKeepLocalHistory()
public void setKeepLocalHistory(Boolean keepLocalHistory)
public boolean isUseOutputPerSourceFolder()
public void setUseOutputPerSourceFolder(boolean useOutputPerSourceFolder)
public Set<OutputConfiguration.SourceMapping> getSourceMappings()
public String getOutputDirectory(String sourceFolder)
sourceFolder - the project relative source folder, e.g. "src" or "src/main/java"public Set<String> getSourceFolders()
public Set<String> getOutputDirectories()
Copyright © 2015. All Rights Reserved.