Ejemplo n.º 1
0
 /**
  * Sets the configuration the node will be saved to.
  *
  * @param config
  */
 public void setConfiguration(MemoryConfiguration config) {
   config.addNode(this);
 }
Ejemplo n.º 2
0
 /**
  * Sets the un-staged value of the node. The actually configuration will not be updated until
  * 'MemoryConfiguration.setProperty()'
  *
  * @param value
  */
 public void setValue(Object value, boolean toMemoryConfig) {
   this.value = value;
   if (config != null && toMemoryConfig) {
     config.addNode(this);
   }
 }