Package ch.ivyteam.ivy.workflow
Class PropertyOrder<T extends IProperty>
- java.lang.Object
-
- ch.ivyteam.ivy.workflow.PropertyOrder<T>
-
-
Constructor Summary
Constructors Constructor Description PropertyOrder(T property)ConstructorPropertyOrder(T property, OrderDirection orderDirection)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends IProperty>
List<PropertyOrder<T>>create(T property)Creates a PropertyOrder list with one propertystatic <T extends IProperty>
List<PropertyOrder<T>>create(T... properties)Creates a PropertyOrder liststatic <T extends IProperty>
List<PropertyOrder<T>>create(T property, OrderDirection orderDirection)Creates a PropertyOrder list with one propertystatic <T extends IProperty>
List<PropertyOrder<T>>create(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2)Creates a PropertyOrder liststatic <T extends IProperty>
List<PropertyOrder<T>>create(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2, T property3, OrderDirection orderDirection3)Creates a PropertyOrder listOrderDirectiongetOrderDirection()Gets the order directionTgetProperty()Gets the property
-
-
-
Constructor Detail
-
PropertyOrder
public PropertyOrder(T property)
Constructor- Parameters:
property- the property to order after- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
PropertyOrder
public PropertyOrder(T property, OrderDirection orderDirection)
Constructor- Parameters:
property- the property to order afterorderDirection- the order direction- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-
Method Detail
-
create
public static <T extends IProperty> List<PropertyOrder<T>> create(T property)
Creates a PropertyOrder list with one property- Type Parameters:
T- Type of the properties- Parameters:
property- Property- Returns:
- List of
PropertyOrder - API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
public static <T extends IProperty> List<PropertyOrder<T>> create(T property, OrderDirection orderDirection)
Creates a PropertyOrder list with one property- Type Parameters:
T- Type of the properties- Parameters:
property- PropertyorderDirection- The order diection- Returns:
- List of
PropertyOrder - API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
@SafeVarargs public static <T extends IProperty> List<PropertyOrder<T>> create(T... properties)
Creates a PropertyOrder list- Type Parameters:
T- Type of the properties- Parameters:
properties- The properties- Returns:
- List of
PropertyOrder - API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
public static <T extends IProperty> List<PropertyOrder<T>> create(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2)
Creates a PropertyOrder list- Type Parameters:
T- Type of the properties- Parameters:
property1- First propertyorderDirection1- Order direction forproperty1property2- Second propertyorderDirection2- Order direction forproperty2- Returns:
- List of
PropertyOrder - API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
create
public static <T extends IProperty> List<PropertyOrder<T>> create(T property1, OrderDirection orderDirection1, T property2, OrderDirection orderDirection2, T property3, OrderDirection orderDirection3)
Creates a PropertyOrder list- Type Parameters:
T- Type of the properties- Parameters:
property1- First propertyorderDirection1- Order direction forproperty1property2- Second propertyorderDirection2- Order direction forproperty2property3- Third propertyorderDirection3- Order direction forproperty3- Returns:
- List of
PropertyOrder - API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getProperty
public T getProperty()
Gets the property- Returns:
- the property
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getOrderDirection
public OrderDirection getOrderDirection()
Gets the order direction- Returns:
- the orderDirection
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-