public class ScratchHook
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
classId |
java.util.List<KeyValue> |
keyValue |
Constructor and Description |
---|
ScratchHook() |
ScratchHook(ScratchHook o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ScratchHook.
|
static ScratchHook |
fromString(java.lang.String s)
String representation of this ScratchHook.
|
java.lang.String |
getClassId()
The specified class must implement
the com.exalead.mercury.indexing.CustomScratchHook Exascript interface. |
java.util.List<KeyValue> |
getKeyValue() |
ScratchHook |
makeCopy()
Creates and returns a deep copy of this ScratchHook.
|
static ScratchHook |
readFrom(java.io.InputStream is)
Read this ScratchHook from an XML fragment.
|
void |
setClassId(java.lang.String classId)
The specified class must implement
the com.exalead.mercury.indexing.CustomScratchHook Exascript interface. |
java.lang.String |
toString()
String representation of this ScratchHook.
|
ScratchHook |
withClassId(java.lang.String classId) |
ScratchHook |
withKeyValue(java.util.Collection<KeyValue> __values) |
ScratchHook |
withKeyValue(KeyValue... __values) |
void |
writeTo(java.io.OutputStream os)
Write this ScratchHook as an XML fragment
|
public java.util.List<KeyValue> keyValue
public java.lang.String classId
public ScratchHook()
public ScratchHook(ScratchHook o)
public java.util.List<KeyValue> getKeyValue()
public ScratchHook withKeyValue(KeyValue... __values)
public ScratchHook withKeyValue(java.util.Collection<KeyValue> __values)
public void setClassId(java.lang.String classId)
com.exalead.mercury.indexing.CustomScratchHook
Exascript interface.public java.lang.String getClassId()
com.exalead.mercury.indexing.CustomScratchHook
Exascript interface.public ScratchHook withClassId(java.lang.String classId)
public ScratchHook makeCopy()
public static ScratchHook 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 ScratchHook 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.