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 Details

    • RestShardInfoModel

      public RestShardInfoModel()
  • Method Details

    • onModel

      public RestShardInfoModel onModel()
      Specified by:
      onModel in interface IRestModel<RestShardInfoModel>
      See Also:
    • getModel

      public RestShardInfoModel getModel()
      Returns:
      the model
    • setModel

      public void setModel(RestShardInfoModel model)
      Parameters:
      model - the model to set
    • getTemplate

      public String getTemplate()
      Returns:
      the template
    • setTemplate

      public void setTemplate(String template)
      Parameters:
      template - the template to set
    • getLowInstanceShards

      public String getLowInstanceShards()
      Returns:
      the lowInstanceShards
    • setLowInstanceShards

      public void setLowInstanceShards(String lowInstanceShards)
      Parameters:
      lowInstanceShards - the lowInstanceShards to set
    • getMissingShards

      public String getMissingShards()
      Returns:
      the missingShards
    • setMissingShards

      public void setMissingShards(String missingShards)
      Parameters:
      missingShards - the missingShards to set
    • getMaxRepositoryTransactionId

      public Long getMaxRepositoryTransactionId()
      Returns:
      the maxRepositoryTransactionId
    • setMaxRepositoryTransactionId

      public void setMaxRepositoryTransactionId(Long maxRepositoryTransactionId)
      Parameters:
      maxRepositoryTransactionId - the maxRepositoryTransactionId to set
    • getMaxLiveInstances

      public Integer getMaxLiveInstances()
      Returns:
      the maxLiveInstances
    • setMaxLiveInstances

      public void setMaxLiveInstances(Integer maxLiveInstances)
      Parameters:
      maxLiveInstances - the maxLiveInstances to set
    • getRemainingTransactions

      public Long getRemainingTransactions()
      Returns:
      the remainingTransactions
    • setRemainingTransactions

      public void setRemainingTransactions(Long remainingTransactions)
      Parameters:
      remainingTransactions - the remainingTransactions to set
    • getNumberOfShards

      public Integer getNumberOfShards()
      Returns:
      the numberOfShards
    • setNumberOfShards

      public void setNumberOfShards(Integer numberOfShards)
      Parameters:
      numberOfShards - the numberOfShards to set
    • getMinActiveInstances

      public Integer getMinActiveInstances()
      Returns:
      the minActiveInstances
    • setMinActiveInstances

      public void setMinActiveInstances(Integer minActiveInstances)
      Parameters:
      minActiveInstances - the minActiveInstances to set
    • getMaxChangesetId

      public Long getMaxChangesetId()
      Returns:
      the maxChangesetId
    • setMaxChangesetId

      public void setMaxChangesetId(Long maxChangesetId)
      Parameters:
      maxChangesetId - the maxChangesetId to set
    • getMode

      public String getMode()
      Returns:
      the mode
    • setMode

      public void setMode(String mode)
      Parameters:
      mode - the mode to set
    • getStores

      public String getStores()
      Returns:
      the stores
    • setStores

      public void setStores(String stores)
      Parameters:
      stores - the stores to set
    • getHasContent

      public Boolean getHasContent()
      Returns:
      the hasContent
    • setHasContent

      public void setHasContent(Boolean hasContent)
      Parameters:
      hasContent - the hasContent to set
    • getShardMethod

      public String getShardMethod()
      Returns:
      the shardMethod
    • setShardMethod

      public void setShardMethod(String shardMethod)
      Parameters:
      shardMethod - the shardMethod to set
    • getShards

      public List<RestShardModel> getShards()
      Returns:
      the shards
    • setShards

      public void setShards(List<RestShardModel> shards)
      Parameters:
      shards - the shards to set