public class D1NodeVersionChecker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HIGHESTVERSION |
static java.lang.String |
SECONDHIGHESTVERSION |
static java.lang.String |
V1 |
static java.lang.String |
V2 |
Constructor and Description |
---|
D1NodeVersionChecker(org.dataone.service.types.v1.NodeReference nodeId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVersion(java.lang.String serviceName)
Get the version of the service name for the node.
|
public static final java.lang.String V1
public static final java.lang.String V2
public static final java.lang.String HIGHESTVERSION
public static final java.lang.String SECONDHIGHESTVERSION
public D1NodeVersionChecker(org.dataone.service.types.v1.NodeReference nodeId)
nodeId
- public java.lang.String getVersion(java.lang.String serviceName) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotImplemented
serviceName
- org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
Copyright © 2020 Regents of the University of California. All Rights Reserved.