org.gcube.informationsystem.publisher.scope
Class DefaultScopeValidator<R>
java.lang.Object
org.gcube.informationsystem.publisher.scope.DefaultScopeValidator<R>
- All Implemented Interfaces:
- Validator<org.gcube.common.resources.gcore.Resource>
public class DefaultScopeValidator<R>
- extends Object
- implements Validator<org.gcube.common.resources.gcore.Resource>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultScopeValidator
public DefaultScopeValidator()
validate
public <R extends org.gcube.common.resources.gcore.Resource> void validate(R resource)
- Specified by:
validate in interface Validator<org.gcube.common.resources.gcore.Resource>
type
public Class type()
- Specified by:
type in interface Validator<org.gcube.common.resources.gcore.Resource>
checkScopeCompatibility
public <R extends org.gcube.common.resources.gcore.Resource> void checkScopeCompatibility(R resource,
List<String> scopesList)
- Specified by:
checkScopeCompatibility in interface Validator<org.gcube.common.resources.gcore.Resource>
Copyright © 2013. All Rights Reserved.