public class WorkerBean extends Object
| Constructor and Description |
|---|
WorkerBean(String name,
String family,
int capacity,
long storage,
String status,
WorkerRemoteConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCapacity() |
WorkerRemoteConfiguration |
getConfiguration() |
String |
getFamily() |
String |
getName() |
String |
getStatus() |
long |
getStorage() |
String |
getWorkerId() |
WorkerBean |
setCapacity(int capacity) |
WorkerBean |
setConfiguration(WorkerRemoteConfiguration configuration) |
WorkerBean |
setFamily(String family) |
WorkerBean |
setName(String name) |
WorkerBean |
setStatus(String status) |
WorkerBean |
setStorage(long storage) |
WorkerBean |
setWorkerId(String workerId) |
String |
toString()
toString : get the workerId, workerName, workerFamily, status on worker as String
|
public WorkerBean(String name, String family, int capacity, long storage, String status, WorkerRemoteConfiguration configuration)
name - : the name of the workerfamily - : the family of the workercapacity - : the capacity of the workerstorage - : the storage of the workerstatus - : the status of the workerconfiguration - : the configuration of the workerpublic String getName()
public WorkerBean setName(String name)
name - the worker name to setpublic String getWorkerId()
public WorkerBean setWorkerId(String workerId)
workerId - the workerId to setpublic String getFamily()
public WorkerBean setFamily(String family)
family - the worker Family to setpublic int getCapacity()
public WorkerBean setCapacity(int capacity)
capacity - the capacity to setpublic long getStorage()
public WorkerBean setStorage(long storage)
storage - the storage to setpublic String getStatus()
public WorkerBean setStatus(String status)
status - the status to setpublic WorkerRemoteConfiguration getConfiguration()
public WorkerBean setConfiguration(WorkerRemoteConfiguration configuration)
configuration - the WorkerRemoteConfiguration to setCopyright © 2018 Vitam. All rights reserved.