public class ImportResultInformation extends Object
Constructor and Description |
---|
ImportResultInformation(Status status,
String message) |
ImportResultInformation(Status status,
String message,
InputStream errorSource) |
ImportResultInformation(Status status,
String message,
Set<String> importedModels) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getErrors()
Return the PMML source annotated with errors.
|
Set<String> |
getImportedModels()
Return the
Set of model names that were successfully imported. |
String |
getMessage()
Return the message indicating the outcome of PMML import.
|
Status |
getStatus()
Return the
Status . |
public ImportResultInformation(Status status, String message)
status
- the Status
of PMML import.message
- the message detailing warnings/errors.public ImportResultInformation(Status status, String message, Set<String> importedModels)
public ImportResultInformation(Status status, String message, InputStream errorSource)
status
- the Status
of PMML import.message
- the message detailing warnings/errors.errorSource
- the source annotated with errors and/or warnings.public final String getMessage()
public final Set<String> getImportedModels()
Set
of model names that were successfully imported.public final InputStream getErrors()
Copyright © 2005–2017 Zementis, Inc.. All rights reserved.