Class DomainTemplate
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.domain.DomainTemplate
-
public class DomainTemplate extends Object
-
-
Constructor Summary
Constructors Constructor Description DomainTemplate(TemplateInfoHolder tInfoHolder, StringSubstitutor substitutor, String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateInfogetInfo()StringgetLocation()Get's the location of the actual template.StringSubstitutorgetStringSubs()Get's the information used to perform string subs on the template.booleanhasStringsubs()Checks if the template has string-subs.
-
-
-
Constructor Detail
-
DomainTemplate
public DomainTemplate(TemplateInfoHolder tInfoHolder, StringSubstitutor substitutor, String location)
-
-
Method Detail
-
hasStringsubs
public boolean hasStringsubs()
Checks if the template has string-subs.- Returns:
trueIf template has stringsubs.xml file.
-
getStringSubs
public StringSubstitutor getStringSubs()
Get's the information used to perform string subs on the template.- Returns:
- The encapsulated string-subs
-
getLocation
public String getLocation()
Get's the location of the actual template.- Returns:
- Template location.
-
getInfo
public TemplateInfo getInfo()
-
-