public class Service
extends java.lang.Object
| Constructor and Description |
|---|
Service(java.lang.String name)
Constructor for Service.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Getter for the field
name. |
ServiceState |
getState()
Getter for the field
state. |
void |
setName(java.lang.String name)
Setter for the field
name. |
void |
setState(ServiceState state)
Setter for the field
state. |
public Service(java.lang.String name)
Constructor for Service.
name - a String object.public java.lang.String getName()
Getter for the field name.
String object.public void setName(java.lang.String name)
Setter for the field name.
name - a String object.public ServiceState getState()
Getter for the field state.
ServiceState object.public void setState(ServiceState state)
Setter for the field state.
state - a ServiceState object.Copyright © 2022. All rights reserved.