package pr2.vererbung.password.rules;

/**
 * Factory class to create Rule objects.
 */
public class RuleFactory {

    /**
     * Entropy rule.
     */
    public static final int ENTROPY = 1;

    /**
     * Length rule.
     */
    public static final int LENGTH = 2;

    /**
     * Chars rule.
     */
    public static final int CHARS = 3;

    /**
     * Dictionary rule.
     */
    public static final int DICTIONARY = 4;

    /**
     * All rules.
     */
    public static final int ALL = 5;

    /**
     * All available rules.
     */
    public static final int[] AVAILABLE_RULES = {
            ENTROPY,
            LENGTH,
            CHARS,
            DICTIONARY,
            ALL
    };

    public static Rule createRule(int number) {
        // TODO: Hier sollten sich Ihre Änderungen abspielen
    }
}
