@Test(expected = ManipulationException.class) public void testRelocationsWithArtifactInvalid() throws ManipulationException { final Properties p = new Properties(); p.setProperty( RelocationState.DEPENDENCY_RELOCATIONS + "oldGroupId:@newGroupId:newA", "" ); final RelocationState state = new RelocationState( p ); assertThat( state.isEnabled(), equalTo( true ) ); }
@Override public boolean isEnabled() { return !dependencyRelocations.isEmpty(); }
RelocationState implements State { @Override public boolean isEnabled() { return !dependencyRelocations.isEmpty(); } }
RelocationState implements State { @Override public boolean isEnabled() { return !dependencyRelocations.isEmpty(); } RelocationState( final Properties userProps ); }
RelocationState implements State { @Override public boolean isEnabled() { return !dependencyRelocations.isEmpty(); } RelocationState( final Properties userProps ); void initialise( Properties userProps ); @Override boolean isEnabled(); WildcardMap<ProjectVersionRef> getDependencyRelocations(); }
RelocationState implements State { @Override public boolean isEnabled() { return !dependencyRelocations.isEmpty(); } RelocationState( final Properties userProps ); void initialise( Properties userProps ); @Override boolean isEnabled(); WildcardMap<ProjectVersionRef> getDependencyRelocations(); @ConfigValue( docIndex = "dep-manip.html#dependency-relocations" )
    static final String DEPENDENCY_RELOCATIONS; }