Search in sources :

Example 6 with Length

use of io.atlasmap.v2.Length in project atlasmap by atlasmap.

the class BaseMarshallerTest method generateActions.

private void generateActions(JsonField inputField) {
    Actions actions = new Actions();
    actions.getActions().add(new Camelize());
    actions.getActions().add(new Capitalize());
    actions.getActions().add(new Length());
    actions.getActions().add(new Lowercase());
    actions.getActions().add(new SeparateByDash());
    actions.getActions().add(new SeparateByUnderscore());
    actions.getActions().add(new Trim());
    actions.getActions().add(new TrimLeft());
    actions.getActions().add(new TrimRight());
    actions.getActions().add(new Uppercase());
    inputField.setActions(actions);
}
Also used : Camelize(io.atlasmap.v2.Camelize) TrimLeft(io.atlasmap.v2.TrimLeft) SeparateByUnderscore(io.atlasmap.v2.SeparateByUnderscore) Actions(io.atlasmap.v2.Actions) Length(io.atlasmap.v2.Length) Trim(io.atlasmap.v2.Trim) Lowercase(io.atlasmap.v2.Lowercase) Uppercase(io.atlasmap.v2.Uppercase) TrimRight(io.atlasmap.v2.TrimRight) Capitalize(io.atlasmap.v2.Capitalize) SeparateByDash(io.atlasmap.v2.SeparateByDash)

Aggregations

Actions (io.atlasmap.v2.Actions)3 Camelize (io.atlasmap.v2.Camelize)3 Capitalize (io.atlasmap.v2.Capitalize)3 Length (io.atlasmap.v2.Length)3 Lowercase (io.atlasmap.v2.Lowercase)3 SeparateByDash (io.atlasmap.v2.SeparateByDash)3 SeparateByUnderscore (io.atlasmap.v2.SeparateByUnderscore)3 Trim (io.atlasmap.v2.Trim)3 TrimLeft (io.atlasmap.v2.TrimLeft)3 TrimRight (io.atlasmap.v2.TrimRight)3 Uppercase (io.atlasmap.v2.Uppercase)3 AtlasFieldActionInfo (io.atlasmap.spi.AtlasFieldActionInfo)1 Properties (io.atlasmap.v2.Properties)1 Property (io.atlasmap.v2.Property)1 SubStringAfter (io.atlasmap.v2.SubStringAfter)1 Validation (io.atlasmap.v2.Validation)1 Method (java.lang.reflect.Method)1 Parameter (java.lang.reflect.Parameter)1 Test (org.junit.Test)1