package grails.plugin.mongogee;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Class containing particular changesets (@{@link ChangeSet})
 *
 * @author lstolowski
 * @see ChangeSet
 * @since 27/07/2014
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ChangeLog {
    /**
     * Sequence that provide an order for changelog classes.
     * If not set, then canonical name of the class is taken and sorted alphabetically, ascending.
     *
     * @return order
     */
    String order() default "";

    //todo: add dependOn field
}

package grails.plugin.mongogee;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Class containing particular changesets (@{@link ChangeSet})
 *
 * @author lstolowski
 * @see ChangeSet
 * @since 27/07/2014
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ChangeLog {
    /**
     * Sequence that provide an order for changelog classes.
     * If not set, then canonical name of the class is taken and sorted alphabetically, ascending.
     *
     * @return order
     */
    String order() default "";
    String release() default "";

    //todo: add dependOn field
}

Add release attribute to change log