public final class LongRunningJobResult extends Object implements com.helger.commons.IHasStringRepresentation
| Modifier and Type | Method and Description |
|---|---|
static LongRunningJobResult |
createFile(File aResult) |
static LongRunningJobResult |
createLink(com.helger.commons.url.ISimpleURL aResult) |
static LongRunningJobResult |
createText(String sResult) |
static LongRunningJobResult |
createXML(com.helger.commons.microdom.IMicroNode aResult) |
String |
getAsString() |
File |
getResultFile() |
com.helger.commons.url.ISimpleURL |
getResultLink() |
Object |
getResultObject() |
String |
getResultText() |
com.helger.commons.microdom.IMicroNode |
getResultXML() |
ELongRunningJobResultType |
getType() |
String |
toString() |
@Nonnull public ELongRunningJobResultType getType()
@Nullable public com.helger.commons.microdom.IMicroNode getResultXML()
@Nullable public com.helger.commons.url.ISimpleURL getResultLink()
@Nonnull public String getAsString()
getAsString in interface com.helger.commons.IHasStringRepresentation@Nonnull public static LongRunningJobResult createFile(@Nonnull File aResult)
@Nonnull public static LongRunningJobResult createXML(@Nonnull com.helger.commons.microdom.IMicroNode aResult)
@Nonnull public static LongRunningJobResult createText(@Nonnull String sResult)
@Nonnull public static LongRunningJobResult createLink(@Nonnull com.helger.commons.url.ISimpleURL aResult)
Copyright © 2014–2015 Philip Helger. All rights reserved.