public class IndexingAuthorization
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_NEW_DOCS_ALLOWED |
static boolean |
DEFAULT_PUSH_ALLOWED |
boolean |
newDocsAllowed |
boolean |
pushAllowed |
Constructor and Description |
---|
IndexingAuthorization() |
IndexingAuthorization(IndexingAuthorization o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this IndexingAuthorization.
|
static IndexingAuthorization |
fromString(java.lang.String s)
String representation of this IndexingAuthorization.
|
boolean |
isNewDocsAllowed() |
boolean |
isPushAllowed() |
IndexingAuthorization |
makeCopy()
Creates and returns a deep copy of this IndexingAuthorization.
|
static IndexingAuthorization |
readFrom(java.io.InputStream is)
Read this IndexingAuthorization from an XML fragment.
|
void |
setNewDocsAllowed(boolean newDocsAllowed) |
void |
setPushAllowed(boolean pushAllowed) |
java.lang.String |
toString()
String representation of this IndexingAuthorization.
|
IndexingAuthorization |
withNewDocsAllowed(boolean newDocsAllowed) |
IndexingAuthorization |
withNewDocsAllowed(java.lang.Boolean newDocsAllowed) |
IndexingAuthorization |
withPushAllowed(boolean pushAllowed) |
IndexingAuthorization |
withPushAllowed(java.lang.Boolean pushAllowed) |
void |
writeTo(java.io.OutputStream os)
Write this IndexingAuthorization as an XML fragment
|
public boolean pushAllowed
public static final boolean DEFAULT_PUSH_ALLOWED
public boolean newDocsAllowed
public static final boolean DEFAULT_NEW_DOCS_ALLOWED
public IndexingAuthorization()
public IndexingAuthorization(IndexingAuthorization o)
public void setPushAllowed(boolean pushAllowed)
public boolean isPushAllowed()
public IndexingAuthorization withPushAllowed(boolean pushAllowed)
public IndexingAuthorization withPushAllowed(java.lang.Boolean pushAllowed)
public void setNewDocsAllowed(boolean newDocsAllowed)
public boolean isNewDocsAllowed()
public IndexingAuthorization withNewDocsAllowed(boolean newDocsAllowed)
public IndexingAuthorization withNewDocsAllowed(java.lang.Boolean newDocsAllowed)
public IndexingAuthorization makeCopy()
public static IndexingAuthorization 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 IndexingAuthorization 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.