public static class ImportArtifactFormSubmitHandler.ImportResult extends UploadResult
ArtifactUploadServlet returns a JSON map as the response.| Modifier | Constructor and Description |
|---|---|
protected |
ImportArtifactFormSubmitHandler.ImportResult()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ImportArtifactFormSubmitHandler.ImportResult |
fromResult(String resultData)
Convert the string returned by the
ArtifactUploadServlet into JSON and
then from there into an ImportArtifactFormSubmitHandler.ImportResult bean. |
int |
getBatchNumFailed() |
int |
getBatchNumSuccess() |
int |
getBatchTotal() |
String |
getModel() |
String |
getType() |
String |
getUuid() |
boolean |
isBatch() |
fromJSON, get, getError, isErrorprotected ImportArtifactFormSubmitHandler.ImportResult()
public static ImportArtifactFormSubmitHandler.ImportResult fromResult(String resultData)
ArtifactUploadServlet into JSON and
then from there into an ImportArtifactFormSubmitHandler.ImportResult bean.resultData - public final String getUuid()
public final String getModel()
public final String getType()
public final boolean isBatch()
public final int getBatchTotal()
public final int getBatchNumSuccess()
public final int getBatchNumFailed()
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.