Package com.testdroid.api.model
Class APICluster
java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APICluster
- All Implemented Interfaces:
Serializable
- Author:
- Ćukasz Kajda <[email protected]>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.testdroid.api.APIEntity
client, id, OBJECT_MAPPER, parentId, selfURI, XML_MAPPER
-
Constructor Summary
ConstructorsConstructorDescriptionAPICluster
(Long id, String name, String url, String jenkinsUrl, String pluginVersion, String jenkinsVersion, APICluster.State state, LocalDateTime stateTime, LocalDateTime stateChangeTime, Boolean enabled, APICluster.Type type, String ipAddress, String region, String location) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends APIEntity>
voidclone
(T from) boolean
getName()
getState()
getType()
getUrl()
int
hashCode()
setDevices
(APIList<APIAdminDevice> devices) setEnabled
(Boolean enabled) setIpAddress
(String ipAddress) setJenkinsUrl
(String jenkinsUrl) setJenkinsVersion
(String jenkinsVersion) setLocation
(String location) setPluginVersion
(String pluginVersion) setState
(APICluster.State state) setStateChangeTime
(Date stateChangeTime) setStateTime
(Date stateTime) setType
(APICluster.Type type) Methods inherited from class com.testdroid.api.APIEntity
cloneBase, createUri, deleteResource, getFile, getId, getListResource, getListResource, getParentId, getResource, getSelfURI, postFile, postResource, refresh, setId, setSelfURI, toJson
-
Constructor Details
-
APICluster
public APICluster() -
APICluster
public APICluster(Long id, String name, String url, String jenkinsUrl, String pluginVersion, String jenkinsVersion, APICluster.State state, LocalDateTime stateTime, LocalDateTime stateChangeTime, Boolean enabled, APICluster.Type type, String ipAddress, String region, String location)
-
-
Method Details
-
getName
-
setName
-
getUrl
-
setUrl
-
getJenkinsUrl
-
setJenkinsUrl
-
getPluginVersion
-
setPluginVersion
-
getJenkinsVersion
-
setJenkinsVersion
-
getState
-
setState
-
getStateTime
-
setStateTime
-
getStateChangeTime
-
setStateChangeTime
-
getEnabled
-
setEnabled
-
getDevices
-
setDevices
-
getType
-
setType
-
getIpAddress
-
setIpAddress
-
getRegion
-
setRegion
-
getLocation
-
setLocation
-
clone
-
equals
-
hashCode
public int hashCode()
-