|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An ExportTask provides an
abstraction of the metadata needed to convert a
JDM object to another format and place it in the
specified location. Specified objects must be
exportable, but a vendor may choose to export any
objects. Exportable objects include: models, build
settings (including algorithm settings if
contained), tasks, logical data, taxonomy, and
results.
The URI specified must be accessible from the DME. Any login information can be obtained from the connection, e.g. to leverage single-sign-on capability.
MiningObject,
Task| Method Summary | |
void |
addObjectName(java.lang.String name,
NamedObject namedObjectType)
Adds the name of an object to be exported. |
ImportExportFormat |
getFormat()
Returns the format to be used for export. |
SettingsInclusionOption |
getIncludeModelSettings()
Returns the option of whether to include the settings objects contained in a model. |
java.lang.String[] |
getObjectNames()
Returns the names of the objects to be exported. |
java.lang.String |
getURI()
Returns the destination URI where the exported objecs are to be placed. |
void |
removeObjectName(java.lang.String name,
NamedObject namedObjectType)
Removes the name of an object to be exported. |
void |
setFormat(ImportExportFormat format)
Sets the format to be used for export. |
void |
setIncludeModelSettings(SettingsInclusionOption option)
Sets the option of whether to include the settings objects contained in any models named. |
void |
setURI(java.lang.String uri)
Sets the destination URI where the exported objecs are to be placed. |
VerificationReport |
verify()
Determines whether the specification of the export task is correct. |
| Methods inherited from interface javax.datamining.base.Task |
getExecutionHandle |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public void addObjectName(java.lang.String name,
NamedObject namedObjectType)
throws JDMException
name - The name of the object to be added for export.namedObjectType - The type of the object to be added.
JDMExceptionpublic ImportExportFormat getFormat()
public SettingsInclusionOption getIncludeModelSettings()
public java.lang.String[] getObjectNames()
public java.lang.String getURI()
public void removeObjectName(java.lang.String name,
NamedObject namedObjectType)
throws JDMException
name - The name of the object to be removed for export.namedObjectType - The type of the object to be removed from export.
JDMExceptionpublic void setFormat(ImportExportFormat format)
format - An export format to be used.
public void setIncludeModelSettings(SettingsInclusionOption option)
option - An option for inclusion of the settings objects in a model.
public void setURI(java.lang.String uri)
throws JDMException
uri - The URI where exported objects are to be placed.
JDMExceptionpublic VerificationReport verify()
Returns null if the specification is correct. Returns a VerificationReport otherwise that contains the explanation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||