public class IndexingTokensStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
IndexingTokensStatus.DocumentTypeCosts |
static class |
IndexingTokensStatus.DocumentTypeMax |
static class |
IndexingTokensStatus.DocumentTypes |
Modifier and Type | Field and Description |
---|---|
long |
available |
long |
consumed |
static boolean |
DEFAULT_TOKENS_FROM_LICENSE_SERVER |
protected IndexingTokensStatus.DocumentTypeCosts |
documentTypeCosts |
protected IndexingTokensStatus.DocumentTypeMax |
documentTypeMax |
protected IndexingTokensStatus.DocumentTypes |
documentTypes |
boolean |
tokensFromLicenseServer |
Constructor and Description |
---|
IndexingTokensStatus() |
IndexingTokensStatus(IndexingTokensStatus o)
Copy constructor
|
public long available
public long consumed
public boolean tokensFromLicenseServer
public static final boolean DEFAULT_TOKENS_FROM_LICENSE_SERVER
protected IndexingTokensStatus.DocumentTypes documentTypes
protected IndexingTokensStatus.DocumentTypeCosts documentTypeCosts
protected IndexingTokensStatus.DocumentTypeMax documentTypeMax
public IndexingTokensStatus()
public IndexingTokensStatus(IndexingTokensStatus o)
public void setAvailable(long available)
public long getAvailable()
public IndexingTokensStatus withAvailable(long available)
public IndexingTokensStatus withAvailable(java.lang.Long available)
public void setConsumed(long consumed)
public long getConsumed()
public IndexingTokensStatus withConsumed(long consumed)
public IndexingTokensStatus withConsumed(java.lang.Long consumed)
public void setTokensFromLicenseServer(boolean tokensFromLicenseServer)
public boolean isTokensFromLicenseServer()
public IndexingTokensStatus withTokensFromLicenseServer(boolean tokensFromLicenseServer)
public IndexingTokensStatus withTokensFromLicenseServer(java.lang.Boolean tokensFromLicenseServer)
public IndexingTokensStatus.DocumentTypes getDocumentTypes()
public void setDocumentTypes(IndexingTokensStatus.DocumentTypes __value)
public IndexingTokensStatus withDocumentTypes(KeyValue... __values)
public IndexingTokensStatus withDocumentTypes(java.util.Collection<KeyValue> __values)
public IndexingTokensStatus withDocumentTypes(IndexingTokensStatus.DocumentTypes __value)
public IndexingTokensStatus.DocumentTypeCosts getDocumentTypeCosts()
public void setDocumentTypeCosts(IndexingTokensStatus.DocumentTypeCosts __value)
public IndexingTokensStatus withDocumentTypeCosts(KeyValue... __values)
public IndexingTokensStatus withDocumentTypeCosts(java.util.Collection<KeyValue> __values)
public IndexingTokensStatus withDocumentTypeCosts(IndexingTokensStatus.DocumentTypeCosts __value)
public IndexingTokensStatus.DocumentTypeMax getDocumentTypeMax()
public void setDocumentTypeMax(IndexingTokensStatus.DocumentTypeMax __value)
public IndexingTokensStatus withDocumentTypeMax(KeyValue... __values)
public IndexingTokensStatus withDocumentTypeMax(java.util.Collection<KeyValue> __values)
public IndexingTokensStatus withDocumentTypeMax(IndexingTokensStatus.DocumentTypeMax __value)
public IndexingTokensStatus makeCopy()
public static IndexingTokensStatus readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static IndexingTokensStatus fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.