/** * @param key * key to set. * @return new string property. * @throws IllegalArgumentException * if key is invalid. */ public StringPluginProperty createString( final String key ) throws IllegalArgumentException { final StringPluginProperty property = new StringPluginProperty( key ); this.properties.add( property ); return property; }