Package land.oras
Class ArtifactType
java.lang.Object
land.oras.ArtifactType
Class for artifact type
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ArtifactTypeCreate an artifact typeGet the media typeinthashCode()toString()static ArtifactTypeunknown()Create an unknown artifact type
-
Method Details
-
getMediaType
Get the media type- Returns:
- The media type
-
from
Create an artifact type- Parameters:
artifactType- The artifact type. Can be null- Returns:
- The artifact type
-
unknown
Create an unknown artifact type- Returns:
- The unknown artifact type
-
equals
-
hashCode
public int hashCode() -
toString
-