@Test public void testPull() { try { Action action = pull("var1", "val1", "val2"); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 2); action = pull("var1", 1, 2); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 2); action = pull("var1", 1.0, 2.0); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 2); action = pull("var1", new Date(), new Date(0)); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 2); action = pull("var1", true, false); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 2); ((PullAction) action).add(true, false, true); assertTrue(action.getCurrentObject().size() == 5); ((PullAction) action).add(3, 4, 5); assertTrue(action.getCurrentObject().size() == 8); ((PullAction) action).add(3.0, 4.0, 5.0); assertTrue(action.getCurrentObject().size() == 11); ((PullAction) action).add("val1", "val2", "val3"); assertTrue(action.getCurrentObject().size() == 14); ((PullAction) action).add(new Date(), new Date(0)); assertTrue(action.getCurrentObject().size() == 16); } catch (final InvalidCreateOperationException e) { e.printStackTrace(); fail(e.getMessage()); } }
public static final PullAction pull(final String variableName, final String... value) throws InvalidCreateOperationException { return new PullAction(variableName, value); }
UpdateActionHelper { public static final PullAction pull(final String variableName, final String... value) throws InvalidCreateOperationException { return new PullAction(variableName, value); } }
UpdateActionHelper { public static final PullAction pull(final String variableName, final String... value) throws InvalidCreateOperationException { return new PullAction(variableName, value); } protected  UpdateActionHelper(); }
UpdateActionHelper { public static final PullAction pull(final String variableName, final String... value) throws InvalidCreateOperationException { return new PullAction(variableName, value); } protected  UpdateActionHelper(); static final AddAction add(final String variableName, final String... value); static final AddAction add(final String variableName, final boolean... value); static final AddAction add(final String variableName, final long... value); static final AddAction add(final String variableName, final double... value); static final AddAction add(final String variableName, final Date... value); static final IncAction inc(final String variableName, final long value); static final IncAction inc(final String variableName); static final MinAction min(final String variableName, final long value); static final MinAction min(final String variableName, final double value); static final MinAction min(final String variableName, final boolean value); static final MinAction min(final String variableName, final String value); static final MinAction min(final String variableName, final Date value); static final MaxAction max(final String variableName, final long value); static final MaxAction max(final String variableName, final double value); static final MaxAction max(final String variableName, final boolean value); static final MaxAction max(final String variableName, final String value); static final MaxAction max(final String variableName, final Date value); static final PullAction pull(final String variableName, final String... value); static final PullAction pull(final String variableName, final boolean... value); static final PullAction pull(final String variableName, final long... value); static final PullAction pull(final String variableName, final double... value); static final PullAction pull(final String variableName, final Date... value); static final PopAction pop(final String variableName, final int way); static final PopAction pop(final String variableName); static final PushAction push(final String variableName, final String... value); static final PushAction push(final String variableName, final boolean... value); static final PushAction push(final String variableName, final long... value); static final PushAction push(final String variableName, final double... value); static final PushAction push(final String variableName, final Date... value); static final RenameAction rename(final String variableName,
        final String newName); static final SetAction set(final String variableName, final String value); static final SetAction set(final String variableName, final List<?> value); static final SetAction set(final String variableName, final boolean value); static final SetAction set(final String variableName, final long value); static final SetAction set(final String variableName, final double value); static final SetAction set(final String variableName, final Date value); static final SetAction set(final Map<String, ?> map); static final SetAction set(final ObjectNode node); static final UnsetAction unset(final String... variableName); }
UpdateActionHelper { public static final PullAction pull(final String variableName, final String... value) throws InvalidCreateOperationException { return new PullAction(variableName, value); } protected  UpdateActionHelper(); static final AddAction add(final String variableName, final String... value); static final AddAction add(final String variableName, final boolean... value); static final AddAction add(final String variableName, final long... value); static final AddAction add(final String variableName, final double... value); static final AddAction add(final String variableName, final Date... value); static final IncAction inc(final String variableName, final long value); static final IncAction inc(final String variableName); static final MinAction min(final String variableName, final long value); static final MinAction min(final String variableName, final double value); static final MinAction min(final String variableName, final boolean value); static final MinAction min(final String variableName, final String value); static final MinAction min(final String variableName, final Date value); static final MaxAction max(final String variableName, final long value); static final MaxAction max(final String variableName, final double value); static final MaxAction max(final String variableName, final boolean value); static final MaxAction max(final String variableName, final String value); static final MaxAction max(final String variableName, final Date value); static final PullAction pull(final String variableName, final String... value); static final PullAction pull(final String variableName, final boolean... value); static final PullAction pull(final String variableName, final long... value); static final PullAction pull(final String variableName, final double... value); static final PullAction pull(final String variableName, final Date... value); static final PopAction pop(final String variableName, final int way); static final PopAction pop(final String variableName); static final PushAction push(final String variableName, final String... value); static final PushAction push(final String variableName, final boolean... value); static final PushAction push(final String variableName, final long... value); static final PushAction push(final String variableName, final double... value); static final PushAction push(final String variableName, final Date... value); static final RenameAction rename(final String variableName,
        final String newName); static final SetAction set(final String variableName, final String value); static final SetAction set(final String variableName, final List<?> value); static final SetAction set(final String variableName, final boolean value); static final SetAction set(final String variableName, final long value); static final SetAction set(final String variableName, final double value); static final SetAction set(final String variableName, final Date value); static final SetAction set(final Map<String, ?> map); static final SetAction set(final ObjectNode node); static final UnsetAction unset(final String... variableName);  }