public abstract class AbstractControl extends Object implements Control
Modifier and Type | Field and Description |
---|---|
private boolean |
criticality
is control critical.
|
protected Logger |
logger
Logger for this class.
|
private String |
oid
control oid.
|
Constructor and Description |
---|
AbstractControl(String id)
Creates a new abstract control.
|
AbstractControl(String id,
boolean b)
Creates a new abstract control.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
getCriticality()
Returns whether the control is critical.
|
String |
getOID()
Returns the OID for this control.
|
abstract int |
hashCode()
Returns the hash code for this object.
|
protected final Logger logger
private final String oid
private final boolean criticality
public AbstractControl(String id)
id
- OID of this controlpublic AbstractControl(String id, boolean b)
id
- OID of this controlb
- whether this control is criticalpublic String getOID()
Control
public boolean getCriticality()
Control
getCriticality
in interface Control
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.