public class SecuritySource extends SecuritySourceBase implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SecuritySource.Config |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
classId |
protected SecuritySource.Config |
config |
java.lang.String |
customClassId |
static boolean |
DEFAULT_SINGLE_INSTANCE |
boolean |
singleInstance |
DEFAULT_DEPLOY, deploy, name
Constructor and Description |
---|
SecuritySource() |
SecuritySource(SecuritySource o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SecuritySource.
|
static SecuritySource |
fromString(java.lang.String s)
String representation of this SecuritySource.
|
java.lang.String |
getClassId()
Security source type
|
SecuritySource.Config |
getConfig() |
java.lang.String |
getCustomClassId()
Customized security source type
|
boolean |
isSingleInstance()
Will this source be deployed on each security command?
|
SecuritySource |
makeCopy()
Creates and returns a deep copy of this SecuritySource.
|
static SecuritySource |
readFrom(java.io.InputStream is)
Read this SecuritySource from an XML fragment.
|
void |
setClassId(java.lang.String classId)
Security source type
|
void |
setConfig(SecuritySource.Config __value) |
void |
setCustomClassId(java.lang.String customClassId)
Customized security source type
|
void |
setSingleInstance(boolean singleInstance)
Will this source be deployed on each security command?
|
java.lang.String |
toString()
String representation of this SecuritySource.
|
SecuritySource |
withClassId(java.lang.String classId) |
SecuritySource |
withConfig(java.util.Collection<KeyValue> __values) |
SecuritySource |
withConfig(KeyValue... __values) |
SecuritySource |
withConfig(SecuritySource.Config __value) |
SecuritySource |
withCustomClassId(java.lang.String customClassId) |
SecuritySource |
withDeploy(boolean deploy) |
SecuritySource |
withDeploy(java.lang.Boolean deploy) |
SecuritySource |
withName(java.lang.String name) |
SecuritySource |
withSingleInstance(boolean singleInstance) |
SecuritySource |
withSingleInstance(java.lang.Boolean singleInstance) |
void |
writeTo(java.io.OutputStream os)
Write this SecuritySource as an XML fragment
|
getName, isDeploy, setDeploy, setName
public java.lang.String classId
public java.lang.String customClassId
public boolean singleInstance
public static final boolean DEFAULT_SINGLE_INSTANCE
protected SecuritySource.Config config
public SecuritySource()
public SecuritySource(SecuritySource o)
public SecuritySource withName(java.lang.String name)
withName
in class SecuritySourceBase
public SecuritySource withDeploy(boolean deploy)
withDeploy
in class SecuritySourceBase
public SecuritySource withDeploy(java.lang.Boolean deploy)
withDeploy
in class SecuritySourceBase
public void setClassId(java.lang.String classId)
public java.lang.String getClassId()
public SecuritySource withClassId(java.lang.String classId)
public void setCustomClassId(java.lang.String customClassId)
public java.lang.String getCustomClassId()
public SecuritySource withCustomClassId(java.lang.String customClassId)
public void setSingleInstance(boolean singleInstance)
public boolean isSingleInstance()
public SecuritySource withSingleInstance(boolean singleInstance)
public SecuritySource withSingleInstance(java.lang.Boolean singleInstance)
public SecuritySource.Config getConfig()
public void setConfig(SecuritySource.Config __value)
public SecuritySource withConfig(KeyValue... __values)
public SecuritySource withConfig(java.util.Collection<KeyValue> __values)
public SecuritySource withConfig(SecuritySource.Config __value)
public SecuritySource makeCopy()
makeCopy
in class SecuritySourceBase
public static SecuritySource 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
writeTo
in class SecuritySourceBase
javax.xml.bind.JAXBException
java.io.IOException
public static SecuritySource 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 SecuritySourceBase
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class SecuritySourceBase
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.