Class UiNetworkGraph.SetChargeCommand

  • All Implemented Interfaces:
    UiCommand<java.lang.Void>
    Enclosing class:
    UiNetworkGraph

    public static class UiNetworkGraph.SetChargeCommand
    extends java.lang.Object
    implements UiCommand<java.lang.Void>
    • Field Detail

      • componentId

        protected java.lang.String componentId
      • charge

        protected int charge
      • overrideNodeCharge

        protected boolean overrideNodeCharge
    • Constructor Detail

      • SetChargeCommand

        @Deprecated
        public SetChargeCommand()
        Deprecated.
        Only for Jackson deserialization. Use the other constructor instead.
      • SetChargeCommand

        public SetChargeCommand​(java.lang.String componentId,
                                int charge,
                                boolean overrideNodeCharge)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getComponentId

        public java.lang.String getComponentId()
        Specified by:
        getComponentId in interface UiCommand<java.lang.Void>
      • getCharge

        public int getCharge()
      • getOverrideNodeCharge

        public boolean getOverrideNodeCharge()