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 com.sun.enterprise.admin.servermgmt.xml.templateinfo.TemplateInfo
getInfo()
String
getLocation()
Get's the location of the actual template.StringSubstitutor
getStringSubs()
Get's the information used to perform string subs on the template.boolean
hasStringsubs()
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:
true
If 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 com.sun.enterprise.admin.servermgmt.xml.templateinfo.TemplateInfo getInfo()
-
-