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 Constructor Description RestShardInfoModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<RestShardInfoModel>and()ModelAssertion<RestShardInfoModel>assertThat()java.lang.BooleangetHasContent()java.lang.StringgetLowInstanceShards()java.lang.LonggetMaxChangesetId()java.lang.IntegergetMaxLiveInstances()java.lang.LonggetMaxRepositoryTransactionId()java.lang.IntegergetMinActiveInstances()java.lang.StringgetMissingShards()java.lang.StringgetMode()RestShardInfoModelgetModel()java.lang.IntegergetNumberOfShards()java.lang.LonggetRemainingTransactions()java.lang.StringgetShardMethod()java.util.List<RestShardModel>getShards()java.lang.StringgetStores()java.lang.StringgetTemplate()RestShardInfoModelonModel()voidsetHasContent(java.lang.Boolean hasContent)voidsetLowInstanceShards(java.lang.String lowInstanceShards)voidsetMaxChangesetId(java.lang.Long maxChangesetId)voidsetMaxLiveInstances(java.lang.Integer maxLiveInstances)voidsetMaxRepositoryTransactionId(java.lang.Long maxRepositoryTransactionId)voidsetMinActiveInstances(java.lang.Integer minActiveInstances)voidsetMissingShards(java.lang.String missingShards)voidsetMode(java.lang.String mode)voidsetModel(RestShardInfoModel model)voidsetNumberOfShards(java.lang.Integer numberOfShards)voidsetRemainingTransactions(java.lang.Long remainingTransactions)voidsetShardMethod(java.lang.String shardMethod)voidsetShards(java.util.List<RestShardModel> shards)voidsetStores(java.lang.String stores)voidsetTemplate(java.lang.String template)
-
-
-
Method Detail
-
and
public ModelAssertion<RestShardInfoModel> and()
- Specified by:
andin interfaceIModelAssertion<RestShardInfoModel>- See Also:
IModelAssertion.and()
-
assertThat
public ModelAssertion<RestShardInfoModel> assertThat()
- Specified by:
assertThatin interfaceIModelAssertion<RestShardInfoModel>- See Also:
IModelAssertion.assertThat()
-
onModel
public RestShardInfoModel onModel()
- Specified by:
onModelin interfaceIRestModel<RestShardInfoModel>- See Also:
IRestModel.onModel()
-
getModel
public RestShardInfoModel getModel()
- Returns:
- the model
-
setModel
public void setModel(RestShardInfoModel model)
- Parameters:
model- the model to set
-
getTemplate
public java.lang.String getTemplate()
- Returns:
- the template
-
setTemplate
public void setTemplate(java.lang.String template)
- Parameters:
template- the template to set
-
getLowInstanceShards
public java.lang.String getLowInstanceShards()
- Returns:
- the lowInstanceShards
-
setLowInstanceShards
public void setLowInstanceShards(java.lang.String lowInstanceShards)
- Parameters:
lowInstanceShards- the lowInstanceShards to set
-
getMissingShards
public java.lang.String getMissingShards()
- Returns:
- the missingShards
-
setMissingShards
public void setMissingShards(java.lang.String missingShards)
- Parameters:
missingShards- the missingShards to set
-
getMaxRepositoryTransactionId
public java.lang.Long getMaxRepositoryTransactionId()
- Returns:
- the maxRepositoryTransactionId
-
setMaxRepositoryTransactionId
public void setMaxRepositoryTransactionId(java.lang.Long maxRepositoryTransactionId)
- Parameters:
maxRepositoryTransactionId- the maxRepositoryTransactionId to set
-
getMaxLiveInstances
public java.lang.Integer getMaxLiveInstances()
- Returns:
- the maxLiveInstances
-
setMaxLiveInstances
public void setMaxLiveInstances(java.lang.Integer maxLiveInstances)
- Parameters:
maxLiveInstances- the maxLiveInstances to set
-
getRemainingTransactions
public java.lang.Long getRemainingTransactions()
- Returns:
- the remainingTransactions
-
setRemainingTransactions
public void setRemainingTransactions(java.lang.Long remainingTransactions)
- Parameters:
remainingTransactions- the remainingTransactions to set
-
getNumberOfShards
public java.lang.Integer getNumberOfShards()
- Returns:
- the numberOfShards
-
setNumberOfShards
public void setNumberOfShards(java.lang.Integer numberOfShards)
- Parameters:
numberOfShards- the numberOfShards to set
-
getMinActiveInstances
public java.lang.Integer getMinActiveInstances()
- Returns:
- the minActiveInstances
-
setMinActiveInstances
public void setMinActiveInstances(java.lang.Integer minActiveInstances)
- Parameters:
minActiveInstances- the minActiveInstances to set
-
getMaxChangesetId
public java.lang.Long getMaxChangesetId()
- Returns:
- the maxChangesetId
-
setMaxChangesetId
public void setMaxChangesetId(java.lang.Long maxChangesetId)
- Parameters:
maxChangesetId- the maxChangesetId to set
-
getMode
public java.lang.String getMode()
- Returns:
- the mode
-
setMode
public void setMode(java.lang.String mode)
- Parameters:
mode- the mode to set
-
getStores
public java.lang.String getStores()
- Returns:
- the stores
-
setStores
public void setStores(java.lang.String stores)
- Parameters:
stores- the stores to set
-
getHasContent
public java.lang.Boolean getHasContent()
- Returns:
- the hasContent
-
setHasContent
public void setHasContent(java.lang.Boolean hasContent)
- Parameters:
hasContent- the hasContent to set
-
getShardMethod
public java.lang.String getShardMethod()
- Returns:
- the shardMethod
-
setShardMethod
public void setShardMethod(java.lang.String shardMethod)
- Parameters:
shardMethod- the shardMethod to set
-
getShards
public java.util.List<RestShardModel> getShards()
- Returns:
- the shards
-
setShards
public void setShards(java.util.List<RestShardModel> shards)
- Parameters:
shards- the shards to set
-
-