import org.opendaylight.netconf.api.xml.XmlElement;
import org.opendaylight.netconf.api.xml.XmlNetconfConstants;
import org.opendaylight.netconf.util.mapping.AbstractSingletonNetconfOperation;
+import org.opendaylight.yangtools.yang.common.ErrorSeverity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Document;
operations/UnLock.java
*/
public class Unlock extends AbstractSingletonNetconfOperation {
-
private static final Logger LOG = LoggerFactory.getLogger(Unlock.class);
-
private static final String OPERATION_NAME = "unlock";
public Unlock(final String netconfSessionIdForReporting) {
throw new DocumentedException("Unable to unlock " + targetDatastore + " datastore",
DocumentedException.ErrorType.APPLICATION, DocumentedException.ErrorTag.OPERATION_NOT_SUPPORTED,
- DocumentedException.ErrorSeverity.ERROR);
+ ErrorSeverity.ERROR);
}
@Override
protected String getOperationName() {
return OPERATION_NAME;
}
-
}