public class SearchAPIConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<Command> |
command |
java.lang.String |
extraClassPath |
java.lang.String |
name |
Constructor and Description |
---|
SearchAPIConfig() |
SearchAPIConfig(SearchAPIConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SearchAPIConfig.
|
static SearchAPIConfig |
fromString(java.lang.String s)
String representation of this SearchAPIConfig.
|
java.util.List<Command> |
getCommand() |
java.util.Map<java.lang.String,Command> |
getCommandAsMap()
Get the map of Command, indexed by base
|
Command |
getCommandByBase(java.lang.String _lookup)
Get the Command for which the base matches _lookup
|
java.lang.String |
getExtraClassPath()
Extra classpath for the web application.
Comma or semicolon separated path of filenames or URLs pointing to directories or jar files. |
java.lang.String |
getName()
Name of this API config
|
SearchAPIConfig |
makeCopy()
Creates and returns a deep copy of this SearchAPIConfig.
|
static SearchAPIConfig |
readFrom(java.io.InputStream is)
Read this SearchAPIConfig from an XML fragment.
|
boolean |
removeCommandByBase(java.lang.String _lookup)
Removes the Command for which the base matches _lookup
|
void |
setExtraClassPath(java.lang.String extraClassPath)
Extra classpath for the web application.
Comma or semicolon separated path of filenames or URLs pointing to directories or jar files. |
void |
setName(java.lang.String name)
Name of this API config
|
java.lang.String |
toString()
String representation of this SearchAPIConfig.
|
SearchAPIConfig |
withCommand(java.util.Collection<Command> __values) |
SearchAPIConfig |
withCommand(Command... __values) |
SearchAPIConfig |
withExtraClassPath(java.lang.String extraClassPath) |
SearchAPIConfig |
withName(java.lang.String name) |
void |
writeTo(java.io.OutputStream os)
Write this SearchAPIConfig as an XML fragment
|
public java.util.List<Command> command
public java.lang.String name
public java.lang.String extraClassPath
public SearchAPIConfig()
public SearchAPIConfig(SearchAPIConfig o)
public java.util.List<Command> getCommand()
public Command getCommandByBase(java.lang.String _lookup)
public java.util.Map<java.lang.String,Command> getCommandAsMap()
public boolean removeCommandByBase(java.lang.String _lookup)
public SearchAPIConfig withCommand(Command... __values)
public SearchAPIConfig withCommand(java.util.Collection<Command> __values)
public void setName(java.lang.String name)
public java.lang.String getName()
public SearchAPIConfig withName(java.lang.String name)
public void setExtraClassPath(java.lang.String extraClassPath)
public java.lang.String getExtraClassPath()
public SearchAPIConfig withExtraClassPath(java.lang.String extraClassPath)
public SearchAPIConfig makeCopy()
public static SearchAPIConfig 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 SearchAPIConfig 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 © 2013 Dassault Systèmes, All Rights Reserved.