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

io.imast.work4j.model.Jobs Maven / Gradle / Ivy

There is a newer version: 0.0.1.PREVIEW
Show newest version
package io.imast.work4j.model;

import java.util.regex.Pattern;

/**
 * The jobs constants
 * 
 * @author davitp
 */
public class Jobs {
    
    /**
     * The name regex pattern
     */
    public static final Pattern NAME_REGEX = Pattern.compile("^[a-zA-Z0-9_]+$");
    
    /**
     * The type regex pattern
     */
    public static final Pattern TYPE_REGEX = NAME_REGEX;
    
    /**
     * The folder regex pattern
     */
    public static final Pattern FOLDER_REGEX = Pattern.compile("^(\\/[A-Za-z0-9_]+)*\\/$");
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy