@Test public void testFreeFieldUnmarshalling() { LOGGER.info( "Get Kalumet test_auto environment FREE freefield" ); FreeField freeField = kalumetModel.getEnvironment( "test_auto" ).getFreeField( "FREE" ); assertEquals( "field", freeField.getContent() ); }
public Environment getEnvironment( String name ) { for ( Iterator environmentIterator = this.getEnvironments().iterator(); environmentIterator.hasNext(); ) { Environment environment = (Environment) environmentIterator.next(); if ( environment.getName().equals( name ) ) { return environment; } } return null; }
Kalumet implements Serializable, Cloneable { public Environment getEnvironment( String name ) { for ( Iterator environmentIterator = this.getEnvironments().iterator(); environmentIterator.hasNext(); ) { Environment environment = (Environment) environmentIterator.next(); if ( environment.getName().equals( name ) ) { return environment; } } return null; } }
Kalumet implements Serializable, Cloneable { public Environment getEnvironment( String name ) { for ( Iterator environmentIterator = this.getEnvironments().iterator(); environmentIterator.hasNext(); ) { Environment environment = (Environment) environmentIterator.next(); if ( environment.getName().equals( name ) ) { return environment; } } return null; } Kalumet(); }
Kalumet implements Serializable, Cloneable { public Environment getEnvironment( String name ) { for ( Iterator environmentIterator = this.getEnvironments().iterator(); environmentIterator.hasNext(); ) { Environment environment = (Environment) environmentIterator.next(); if ( environment.getName().equals( name ) ) { return environment; } } 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 Environment getEnvironment( String name ) { for ( Iterator environmentIterator = this.getEnvironments().iterator(); environmentIterator.hasNext(); ) { Environment environment = (Environment) environmentIterator.next(); if ( environment.getName().equals( name ) ) { return environment; } } 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 );  }