public class ActivationOS extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
ActivationOS() |
Modifier and Type | Method and Description |
---|---|
ActivationOS |
clone()
Method clone.
|
String |
getArch()
Get the architecture of the operating system to be used to
activate the
profile.
|
String |
getFamily()
Get the general family of the OS to be used to activate the
profile, such as
windows or unix . |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getName()
Get the name of the operating system to be used to activate
the profile.
|
String |
getVersion()
Get the version of the operating system to be used to
activate the
profile.
|
void |
setArch(String arch)
Set the architecture of the operating system to be used to
activate the
profile.
|
void |
setFamily(String family)
Set the general family of the OS to be used to activate the
profile, such as
windows or unix . |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(String name)
Set the name of the operating system to be used to activate
the profile.
|
void |
setOtherLocation(Object key,
InputLocation location) |
void |
setVersion(String version)
Set the version of the operating system to be used to
activate the
profile.
|
public ActivationOS clone()
public String getArch()
public String getFamily()
windows
or unix
.public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getName()
${os.name}
Java property,
such as Windows XP
.public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- location
- public String getVersion()
public void setArch(String arch)
arch
- public void setFamily(String family)
windows
or unix
.family
- public void setName(String name)
${os.name}
Java property,
such as Windows XP
.name
- public void setVersion(String version)
version
- Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.