public class Hook extends Object implements Resultsable
| Constructor and Description |
|---|
Hook() |
| Modifier and Type | Method and Description |
|---|---|
Embedding[] |
getEmbeddings() |
Match |
getMatch() |
Output[] |
getOutputs() |
Result |
getResult() |
boolean |
hasContent()
Checks if the hook has content meaning as it has at least attachment or result with error message.
|
public Result getResult()
getResult in interface Resultsablepublic Match getMatch()
getMatch in interface Resultsablepublic Output[] getOutputs()
getOutputs in interface Resultsablepublic Embedding[] getEmbeddings()
public boolean hasContent()
true if the hook has content otherwise falseCopyright © 2020. All rights reserved.