@Test public void testPop() { try { Action action = pop("var1"); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 1); assertTrue(action.getCurrentObject().path("var1").asInt() == 1); action = pop("var1", 1); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 1); assertTrue(action.getCurrentObject().path("var1").asInt() == 1); action = pop("var1", -1); assertTrue(action.getCurrentAction().size() == 1); assertTrue(action.getCurrentObject().size() == 1); assertTrue(action.getCurrentObject().path("var1").asInt() == -1); } catch (final InvalidCreateOperationException e) { e.printStackTrace(); fail(e.getMessage()); } }
public static final PopAction pop(final String variableName, final int way) throws InvalidCreateOperationException { return new PopAction(variableName, way); }
UpdateActionHelper { public static final PopAction pop(final String variableName, final int way) throws InvalidCreateOperationException { return new PopAction(variableName, way); } }
UpdateActionHelper { public static final PopAction pop(final String variableName, final int way) throws InvalidCreateOperationException { return new PopAction(variableName, way); } protected  UpdateActionHelper(); }
UpdateActionHelper { public static final PopAction pop(final String variableName, final int way) throws InvalidCreateOperationException { return new PopAction(variableName, way); } 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 PopAction pop(final String variableName, final int way) throws InvalidCreateOperationException { return new PopAction(variableName, way); } 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);  }