public class SupportingFile extends TemplateDefinition
templateType| Constructor and Description |
|---|
SupportingFile(String templateFile,
String destinationFilename) |
SupportingFile(String templateFile,
String folder,
String destinationFilename) |
| Modifier and Type | Method and Description |
|---|---|
SupportingFile |
doNotOverwrite()
Identifies this instance as referring to a supporting file which should not overwrite a file of the same name.
|
boolean |
equals(Object o) |
TemplateFileType |
getTemplateType()
Gets the type of template
|
int |
hashCode() |
boolean |
isCanOverwrite() |
void |
setTemplateType(TemplateFileType templateType)
Sets the type of template
|
String |
toString() |
getDestinationFilename, getFolder, getTemplateFilepublic SupportingFile doNotOverwrite()
public void setTemplateType(TemplateFileType templateType)
setTemplateType in class TemplateDefinitiontemplateType - a TemplateFileType enum which defines the type of this templatepublic TemplateFileType getTemplateType()
getTemplateType in class TemplateDefinitionTemplateFileType enum which defines the type of this template.public boolean equals(Object o)
equals in class TemplateDefinitionpublic boolean isCanOverwrite()
public int hashCode()
hashCode in class TemplateDefinitionpublic String toString()
toString in class TemplateDefinitionCopyright © 2021. All rights reserved.