public class DefaultConfigFileSpec extends java.lang.Object implements ConfigFileSpec
ConfigFileSpec which returns the provided values.| Constructor and Description |
|---|
DefaultConfigFileSpec(java.lang.String name,
java.lang.String relativePath,
java.lang.String templateContent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Name for this config.
|
java.lang.String |
getRelativePath()
Path where this file will be written, relative to the initial working directory of the task.
|
java.lang.String |
getTemplateContent()
Content of the template which will be rendered and written to the above path.
|
int |
hashCode() |
java.lang.String |
toString() |
public DefaultConfigFileSpec(java.lang.String name,
java.lang.String relativePath,
java.lang.String templateContent)
public java.lang.String getName()
ConfigFileSpecgetName in interface ConfigFileSpecpublic java.lang.String getRelativePath()
ConfigFileSpecgetRelativePath in interface ConfigFileSpecpublic java.lang.String getTemplateContent()
ConfigFileSpecgetTemplateContent in interface ConfigFileSpecpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object