public class ActivationOS extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arch
The architecture of the operating system to be used to
activate the
profile.
|
private InputLocation |
archLocation
Field archLocation.
|
private java.lang.String |
family
The general family of the OS to be used to
activate the profile, such as
windows or unix . |
private InputLocation |
familyLocation
Field familyLocation.
|
private InputLocation |
location
Field location.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
name
The name of the operating system to be used to
activate the profile.
|
private InputLocation |
nameLocation
Field nameLocation.
|
private java.lang.String |
version
The version of the operating system to be used to activate
the
profile.
|
private InputLocation |
versionLocation
Field versionLocation.
|
Constructor and Description |
---|
ActivationOS() |
Modifier and Type | Method and Description |
---|---|
ActivationOS |
clone()
Method clone.
|
java.lang.String |
getArch()
Get the architecture of the operating system to be used to
activate the
profile.
|
java.lang.String |
getFamily()
Get the general family of the OS to be used to activate the
profile, such as
windows or unix . |
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
java.lang.String |
getName()
Get the name of the operating system to be used to activate
the profile.
|
private InputLocation |
getOtherLocation(java.lang.Object key) |
java.lang.String |
getVersion()
Get the version of the operating system to be used to
activate the
profile.
|
void |
setArch(java.lang.String arch)
Set the architecture of the operating system to be used to
activate the
profile.
|
void |
setFamily(java.lang.String family)
Set the general family of the OS to be used to activate the
profile, such as
windows or unix . |
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(java.lang.String name)
Set the name of the operating system to be used to activate
the profile.
|
void |
setOtherLocation(java.lang.Object key,
InputLocation location) |
void |
setVersion(java.lang.String version)
Set the version of the operating system to be used to
activate the
profile.
|
private java.lang.String name
${os.name}
Java property,
such as Windows XP
.private java.lang.String family
windows
or unix
.private java.lang.String arch
private java.lang.String version
private java.util.Map<java.lang.Object,InputLocation> locations
private InputLocation location
private InputLocation nameLocation
private InputLocation familyLocation
private InputLocation archLocation
private InputLocation versionLocation
public ActivationOS clone()
clone
in class java.lang.Object
public java.lang.String getArch()
public java.lang.String getFamily()
windows
or unix
.public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public java.lang.String getName()
${os.name}
Java property,
such as Windows XP
.public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(java.lang.Object key, InputLocation location)
key
- location
- private InputLocation getOtherLocation(java.lang.Object key)
key
- public java.lang.String getVersion()
public void setArch(java.lang.String arch)
arch
- public void setFamily(java.lang.String family)
windows
or unix
.family
- public void setName(java.lang.String name)
${os.name}
Java property,
such as Windows XP
.name
- public void setVersion(java.lang.String version)
version
-