Package com.testdroid.api.model
Class APIProject
java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APIProject
- Author:
- Ćukasz Kajda <[email protected]>, Slawomir Pawluk <[email protected]>
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.testdroid.api.APIEntity
client, id, OBJECT_MAPPER, parentId, selfURI, XML_MAPPER
-
Constructor Summary
ConstructorDescriptionAPIProject
(Long id, LocalDateTime createTime, LocalDateTime archiveTime, String name, String description, Long userId, String userEmail, boolean common, APIProject.APIArchivingStrategy archivingStrategy, Integer archivingItemCount, Boolean isShared, APIDevice.OsType osType, boolean readOnly) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends APIEntity>
voidclone
(T from) void
delete()
getName()
getTestRun
(Long id) getTestRunsResource
(Context<APITestRun> context) boolean
isCommon()
boolean
boolean
isShared()
boolean
void
setArchiveTime
(Date archiveTime) void
setArchivingItemCount
(Integer archivingItemCount) void
setArchivingStrategy
(APIProject.APIArchivingStrategy archivingStrategy) void
setCommon
(boolean common) void
setCreateTime
(Date createTime) void
setDescription
(String description) void
void
setOsType
(APIDevice.OsType osType) void
setReadOnly
(boolean readOnly) void
setRowIndex
(Integer rowIndex) void
setShared
(boolean isShared) void
setSharedWithCaller
(boolean sharedWithCaller) void
setSuccessRatio
(Double successRatio) void
setUserEmail
(String userEmail) void
void
update()
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
-
APIProject
public APIProject() -
APIProject
public APIProject(Long id, LocalDateTime createTime, LocalDateTime archiveTime, String name, String description, Long userId, String userEmail, boolean common, APIProject.APIArchivingStrategy archivingStrategy, Integer archivingItemCount, Boolean isShared, APIDevice.OsType osType, boolean readOnly)
-
-
Method Details
-
getName
-
setName
-
getDescription
-
setDescription
-
isCommon
public boolean isCommon() -
setCommon
public void setCommon(boolean common) -
getCreateTime
-
setCreateTime
-
getArchiveTime
-
setArchiveTime
-
getArchivingStrategy
-
setArchivingStrategy
-
getArchivingItemCount
-
setArchivingItemCount
-
getSuccessRatio
-
setSuccessRatio
-
getOsType
-
setOsType
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
getUserId
-
setUserId
-
getUserEmail
-
setUserEmail
-
getRowIndex
-
setRowIndex
-
delete
- Throws:
APIException
-
getTestRunsResource
- Throws:
APIException
-
getTestRunsResource
public APIListResource<APITestRun> getTestRunsResource(Context<APITestRun> context) throws APIException - Throws:
APIException
-
getTestRun
- Throws:
APIException
-
update
- Throws:
APIException
-
clone
-