public final class MRL
extends java.lang.Object
MRL (Machine learning Resource Locator) is a pointer to a Metadata "resource"
on a machine learning Repository.
Each mrl references a single metadata file (parsed to Metadata and the collection of
artifacts located within it. Those artifacts all share the same groupId and artifactId, but can
differ based on the name and properties.
The mrl consists of three different properties:
Application).
| Modifier and Type | Method and Description |
|---|---|
static MRL |
dataset(Application application,
java.lang.String groupId,
java.lang.String artifactId)
Creates a dataset
MRL with specified application. |
Application |
getApplication()
Returns the resource application.
|
java.lang.String |
getArtifactId()
Returns the artifactId.
|
java.lang.String |
getGroupId()
Returns the groupId.
|
static MRL |
model(Application application,
java.lang.String groupId,
java.lang.String artifactId)
Creates a model
MRL with specified application. |
java.lang.String |
toString() |
java.net.URI |
toURI()
Returns the URI to the metadata location (used for
Repository implementations). |
static MRL |
undefined(java.lang.String groupId,
java.lang.String artifactId)
Creates a dataset
MRL with specified application. |
public static MRL model(Application application, java.lang.String groupId, java.lang.String artifactId)
MRL with specified application.application - the desired applicationgroupId - the desired groupIdartifactId - the desired artifactIdMRLpublic static MRL dataset(Application application, java.lang.String groupId, java.lang.String artifactId)
MRL with specified application.application - the desired applicationgroupId - the desired groupIdartifactId - the desired artifactIdMRLpublic static MRL undefined(java.lang.String groupId, java.lang.String artifactId)
MRL with specified application.groupId - the desired groupIdartifactId - the desired artifactIdMRLpublic java.net.URI toURI()
Repository implementations).public Application getApplication()
public java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String toString()
toString in class java.lang.Object