Package org.alfresco.rest.search
Class RestShardInfoModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.search.RestShardInfoModel
- All Implemented Interfaces:
IModelAssertion<RestShardInfoModel>,IRestModel<RestShardInfoModel>,org.alfresco.utility.model.Model
public class RestShardInfoModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestShardInfoModel>
POJO representing shard info model
- Author:
- Tuna Aksoy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand()getMode()getModel()onModel()voidsetHasContent(Boolean hasContent) voidsetLowInstanceShards(String lowInstanceShards) voidsetMaxChangesetId(Long maxChangesetId) voidsetMaxLiveInstances(Integer maxLiveInstances) voidsetMaxRepositoryTransactionId(Long maxRepositoryTransactionId) voidsetMinActiveInstances(Integer minActiveInstances) voidsetMissingShards(String missingShards) voidvoidsetModel(RestShardInfoModel model) voidsetNumberOfShards(Integer numberOfShards) voidsetRemainingTransactions(Long remainingTransactions) voidsetShardMethod(String shardMethod) voidsetShards(List<RestShardModel> shards) voidvoidsetTemplate(String template) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
RestShardInfoModel
public RestShardInfoModel()
-
-
Method Details
-
and
- Specified by:
andin interfaceIModelAssertion<RestShardInfoModel>- See Also:
-
assertThat
- Specified by:
assertThatin interfaceIModelAssertion<RestShardInfoModel>- See Also:
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestShardInfoModel>- See Also:
-
getModel
- Returns:
- the model
-
setModel
- Parameters:
model- the model to set
-
getTemplate
- Returns:
- the template
-
setTemplate
- Parameters:
template- the template to set
-
getLowInstanceShards
- Returns:
- the lowInstanceShards
-
setLowInstanceShards
- Parameters:
lowInstanceShards- the lowInstanceShards to set
-
getMissingShards
- Returns:
- the missingShards
-
setMissingShards
- Parameters:
missingShards- the missingShards to set
-
getMaxRepositoryTransactionId
- Returns:
- the maxRepositoryTransactionId
-
setMaxRepositoryTransactionId
- Parameters:
maxRepositoryTransactionId- the maxRepositoryTransactionId to set
-
getMaxLiveInstances
- Returns:
- the maxLiveInstances
-
setMaxLiveInstances
- Parameters:
maxLiveInstances- the maxLiveInstances to set
-
getRemainingTransactions
- Returns:
- the remainingTransactions
-
setRemainingTransactions
- Parameters:
remainingTransactions- the remainingTransactions to set
-
getNumberOfShards
- Returns:
- the numberOfShards
-
setNumberOfShards
- Parameters:
numberOfShards- the numberOfShards to set
-
getMinActiveInstances
- Returns:
- the minActiveInstances
-
setMinActiveInstances
- Parameters:
minActiveInstances- the minActiveInstances to set
-
getMaxChangesetId
- Returns:
- the maxChangesetId
-
setMaxChangesetId
- Parameters:
maxChangesetId- the maxChangesetId to set
-
getMode
- Returns:
- the mode
-
setMode
- Parameters:
mode- the mode to set
-
getStores
- Returns:
- the stores
-
setStores
- Parameters:
stores- the stores to set
-
getHasContent
- Returns:
- the hasContent
-
setHasContent
- Parameters:
hasContent- the hasContent to set
-
getShardMethod
- Returns:
- the shardMethod
-
setShardMethod
- Parameters:
shardMethod- the shardMethod to set
-
getShards
- Returns:
- the shards
-
setShards
- Parameters:
shards- the shards to set
-