public class Platform extends Object
| Constructor and Description |
|---|
Platform()
Default Constructor sets the properties to nulls
|
Platform(String platformName,
String platformDescription)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStoredServer(StoredServer storedServer)
Add a stored server to the platform
|
boolean |
equals(Object o) |
String |
getPlatformDescription()
Get the platform description
|
String |
getPlatformName()
Get the platform name
|
PlatformStatus |
getPlatformStatus()
return the status of the platform
|
Set<StoredServer> |
getStoredServers()
Set the stored servers on this platform
|
int |
hashCode() |
void |
setPlatformDescription(String platformDescription)
Set the description for the platform
|
void |
setPlatformName(String platformName)
Set a meaningful name for the platform
|
void |
setPlatformStatus(PlatformStatus platformStatus)
Set the platform status
|
void |
setStoredServers(Set<StoredServer> storedServers)
Get the stored servers on this platform
|
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
public String getPlatformName()
public void setPlatformName(String platformName)
platformName - set platform namepublic String getPlatformDescription()
public void setPlatformDescription(String platformDescription)
platformDescription - set platform descriptionpublic Set<StoredServer> getStoredServers()
public void setStoredServers(Set<StoredServer> storedServers)
storedServers - serverspublic void addStoredServer(StoredServer storedServer)
storedServer - stored server to addpublic PlatformStatus getPlatformStatus()
public void setPlatformStatus(PlatformStatus platformStatus)
platformStatus - platform status to setpublic StringBuilder toString(StringBuilder sb)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.