public class ProfileTemplate
extends java.lang.Object
Profile
, to save and load a pre-configured set
of AbstractModule
s used for the fast creation of a Profile
.Modifier and Type | Field and Description |
---|---|
java.util.List<AbstractModule> |
moduleList
List of pre-configured modules
|
java.lang.String |
name
Name of the template, mostly the same name as the profile
|
Constructor and Description |
---|
ProfileTemplate(java.lang.String name)
Constructs a ProfileTemplate with a specified name
|
Modifier and Type | Method and Description |
---|---|
void |
save()
Saves a template class to a file, which can be send to other PET users to
create similar
Profile s on multiple machines. |
java.lang.String |
toString()
Prints the template name
|
public java.lang.String name
public java.util.List<AbstractModule> moduleList
public ProfileTemplate(java.lang.String name)
name
- name of the templatepublic java.lang.String toString()
toString
in class java.lang.Object
public void save()
Profile
s on multiple machines.