All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.duracloud.syncui.validation.SpaceWritable Maven / Gradle / Ivy

There is a newer version: 8.1.0
Show newest version
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.syncui.validation;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author "Daniel Bernstein ([email protected])"
 *
 */
@Target({ElementType.TYPE}) 
@Retention(RetentionPolicy.RUNTIME) 
@Constraint(validatedBy=SpaceWritableValidator.class)
public @interface SpaceWritable {
    String message() default "You do not have write access to this space. " + 
                             "Please choose another or contact your DuraCloud" +
                             " administrator.";
    Class[] groups() default {};
    Class[] payload() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy