public class OSRequirement extends Object implements ResourceRequirement
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
| Constructor and Description |
|---|
OSRequirement() |
OSRequirement(OSType osType,
String osVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
equals this instance of class with another instance
|
OSType |
getOSType()
Get the type of the O/S
|
String |
getOSVersion()
Get the version of the O/S
|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setOSType(OSType osType)
Set the type of the O/S
|
void |
setOSVersion(String version)
Set the version of the O/S
|
public void setOSType(OSType osType)
type - -
the type of the O/Spublic OSType getOSType()
public void setOSVersion(String version)
version - -
the version of the O/Spublic String getOSVersion()
public boolean equals(Object obj)
public boolean isEnabled()
isEnabled in interface ResourceRequirementpublic void setEnabled(boolean enabled)
setEnabled in interface ResourceRequirementCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.