cascading.management.annotation
Annotation Type PropertyOrder


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface PropertyOrder

PropertyOrder is an annotation at the class level that controls the sort order of the Property annotations present on that class.

Order.DECLARED is the default sort order in which the properties are returned in the order they are returned by the reflection API of the JVM. This can be implementation specific and is not guaranteed to be stable.

Using Order.ALPHABETICAL will cause the properties to be sorted alphabetically.

Order.GIVEN and an array of Strings containing all properties of that class, will result in a custom order.


Optional Element Summary
 Order order
           
 String[] properties
           
 

order

public abstract Order order
Default:
cascading.management.annotation.Order.DECLARED

properties

public abstract String[] properties
Default:
{}


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.