public FeatureState copy ( ) { FeatureState copy = new FeatureState ( feature ) ; copy . setEnabled ( this . enabled ) ; copy . setStrategyId ( this . strategyId ) ; for ( Entry < String , String > entry : this . parameters . entrySet ( ) ) { copy . setParameter ( entry . getKey ( ) , entry . getValue ( ) ) ; } return copy ; }
Creates a copy of this state object