public void setExtraHeadersEntries( List<PropertyEntry> extraHeadersEntries ) { if ( extraHeadersEntries == null ) { return; } this.extraHeadersEntries = extraHeadersEntries; for ( PropertyEntry propertyEntry : extraHeadersEntries ) { this.addExtraHeader( propertyEntry.getKey(), propertyEntry.getValue() ); } }
public void setExtraParametersEntries( List<PropertyEntry> extraParametersEntries ) { if ( extraParametersEntries == null ) { return; } this.extraParametersEntries = extraParametersEntries; for ( PropertyEntry propertyEntry : extraParametersEntries ) { this.addExtraParameter( propertyEntry.getKey(), propertyEntry.getValue() ); } }
@Override public void beginScan( ManagedRepository repo, Date whenGathered ) throws ConsumerException { repoId = repo.getId(); this.whenGathered = whenGathered; }
@Override public String getRepoRoot() { return repository.getLocation(); }
@Override public String getId() { return repository.getId(); }
/** * @since 1.4-M3 */ public ManagedRepository( Locale defaultLocale, String id, String name, String location, String layout, boolean snapshots, boolean releases, boolean blockRedeployments, String cronExpression, String indexDir, boolean scanned, int retentionPeriod, int retentionCount, boolean deleteReleasedSnapshots, boolean stageRepoNeeded, String description, boolean skipPackedIndexCreation ) { this( defaultLocale, id, name, location, layout, snapshots, releases, blockRedeployments, cronExpression, indexDir, scanned, retentionPeriod, retentionCount, deleteReleasedSnapshots, stageRepoNeeded ); setDescription( description ); setSkipPackedIndexCreation( skipPackedIndexCreation ); }
PropertyEntry pe = // Get from OR-Mapper Converter c = (Converter) pe.getConverter().newInstance(); Object o = c.getAsObject(null, null, pe.getValue()); // use the object o instead of value
/** * @since 1.4-M3 */ public RemoteRepository( String id, String name, String url, String layout, String userName, String password, int timeout, String description ) { this( id, name, url, layout, userName, password, timeout ); setDescription( description ); }
public LegacyArtifactPath( String path, String artifact ) { this.path = path; this.artifact = artifact; initValues( this.artifact ); }
@Override public String getId() { return repository.getId(); }
public void setExtraHeadersEntries( List<PropertyEntry> extraHeadersEntries ) { if ( extraHeadersEntries == null ) { return; } this.extraHeadersEntries = extraHeadersEntries; for ( PropertyEntry propertyEntry : extraHeadersEntries ) { this.addExtraHeader( propertyEntry.getKey(), propertyEntry.getValue() ); } }
public void setExtraParametersEntries( List<PropertyEntry> extraParametersEntries ) { if ( extraParametersEntries == null ) { return; } this.extraParametersEntries = extraParametersEntries; for ( PropertyEntry propertyEntry : extraParametersEntries ) { this.addExtraParameter( propertyEntry.getKey(), propertyEntry.getValue() ); } }
/** * @since 1.4-M3 */ public ManagedRepository( String id, String name, String location, String layout, boolean snapshots, boolean releases, boolean blockRedeployments, String cronExpression, String indexDir, boolean scanned, int daysOlder, int retentionCount, boolean deleteReleasedSnapshots, boolean stageRepoNeeded, String description, boolean skipPackedIndexCreation ) { this( id, name, location, layout, snapshots, releases, blockRedeployments, cronExpression, indexDir, scanned, daysOlder, retentionCount, deleteReleasedSnapshots, stageRepoNeeded ); setDescription( description ); setSkipPackedIndexCreation( skipPackedIndexCreation ); }
/** * @since 1.4-M3 */ public RemoteRepository( Locale locale, String id, String name, String url, String layout, String userName, String password, int timeout, String description ) { this( locale, id, name, url, layout, userName, password, timeout ); setDescription( description ); }
public void setArtifact( String artifact ) { this.artifact = artifact; initValues( this.artifact ); }
public void setArtifact( String artifact ) { this.artifact = artifact; initValues( this.artifact ); }
public LegacyArtifactPath( String path, String artifact ) { this.path = path; this.artifact = artifact; initValues( this.artifact ); }