@Test public void testPropertiesUnmarshalling() { LOGGER.info( "Get Kalumet test property" ); Property testProperty = kalumetModel.getProperty( "test" ); assertEquals( "test", testProperty.getValue() ); }
public Property getProperty( String name ) { for ( Iterator propertyIterator = this.getProperties().iterator(); propertyIterator.hasNext(); ) { Property property = (Property) propertyIterator.next(); if ( property.getName().equals( name ) ) { return property; } } return null; }
Kalumet implements Serializable, Cloneable { public Property getProperty( String name ) { for ( Iterator propertyIterator = this.getProperties().iterator(); propertyIterator.hasNext(); ) { Property property = (Property) propertyIterator.next(); if ( property.getName().equals( name ) ) { return property; } } return null; } }
Kalumet implements Serializable, Cloneable { public Property getProperty( String name ) { for ( Iterator propertyIterator = this.getProperties().iterator(); propertyIterator.hasNext(); ) { Property property = (Property) propertyIterator.next(); if ( property.getName().equals( name ) ) { return property; } } return null; } Kalumet(); }
Kalumet implements Serializable, Cloneable { public Property getProperty( String name ) { for ( Iterator propertyIterator = this.getProperties().iterator(); propertyIterator.hasNext(); ) { Property property = (Property) propertyIterator.next(); if ( property.getName().equals( name ) ) { return property; } } return null; } Kalumet(); void addProperty( Property property ); List getProperties(); void setProperties( LinkedList properties ); Property getProperty( String name ); void setSecurity( Security security ); Security getSecurity(); void addAgent( Agent agent ); void setAgents( LinkedList agents ); List getAgents(); Agent getAgent( String id ); void addEnvironment( Environment environment ); List getEnvironments(); void setEnvironments( LinkedList environments ); Environment getEnvironment( String name ); Map getEnvironmentsByGroups(); List getUserEnvironments( String userid ); Map getUserEnvironmentsByGroups( String userid ); List getEnvironmentsByAgent( String id ); static Kalumet digeste( String path ); Object clone(); synchronized void writeXMLFile( String path, boolean backup ); void writeXMLFile( String path ); void backupXMLFile( String path ); static void writeDefault( String path ); }
Kalumet implements Serializable, Cloneable { public Property getProperty( String name ) { for ( Iterator propertyIterator = this.getProperties().iterator(); propertyIterator.hasNext(); ) { Property property = (Property) propertyIterator.next(); if ( property.getName().equals( name ) ) { return property; } } return null; } Kalumet(); void addProperty( Property property ); List getProperties(); void setProperties( LinkedList properties ); Property getProperty( String name ); void setSecurity( Security security ); Security getSecurity(); void addAgent( Agent agent ); void setAgents( LinkedList agents ); List getAgents(); Agent getAgent( String id ); void addEnvironment( Environment environment ); List getEnvironments(); void setEnvironments( LinkedList environments ); Environment getEnvironment( String name ); Map getEnvironmentsByGroups(); List getUserEnvironments( String userid ); Map getUserEnvironmentsByGroups( String userid ); List getEnvironmentsByAgent( String id ); static Kalumet digeste( String path ); Object clone(); synchronized void writeXMLFile( String path, boolean backup ); void writeXMLFile( String path ); void backupXMLFile( String path ); static void writeDefault( String path );  }