com.fusesource.tooling.fuse.cdc.api.resolver
Class RepositoryConfiguration

java.lang.Object
  extended by com.fusesource.tooling.fuse.cdc.api.resolver.RepositoryConfiguration

public class RepositoryConfiguration
extends java.lang.Object

A Java Bean used by the ResolverUtil class to configure RemoteRepository objects.


Constructor Summary
RepositoryConfiguration()
           
 
Method Summary
 java.lang.String getId()
          Gets the String value of id for this instance of RepositoryConfiguration.
 java.lang.String getLayout()
          Gets the String value of layout for this instance of RepositoryConfiguration.
 java.lang.String getPassword()
          Gets the String value of password for this instance of RepositoryConfiguration.
 java.net.URI getProxyUri()
          Gets the URI value of proxyUri for this instance of RepositoryConfiguration.
 java.lang.String getReleaseChecksumPolicy()
          Gets the String value of releaseChecksumPolicy for this instance of RepositoryConfiguration.
 java.lang.String getReleaseUpdatePolicy()
          Gets the String value of releaseUpdatePolicy for this instance of RepositoryConfiguration.
 java.lang.String getSnapshotChecksumPolicy()
          Gets the String value of snapshotChecksumPolicy for this instance of RepositoryConfiguration.
 java.lang.String getSnapshotUpdatePolicy()
          Gets the String value of snapshotUpdatePolicy for this instance of RepositoryConfiguration.
 java.lang.String getUrl()
          Gets the String value of url for this instance of RepositoryConfiguration.
 java.lang.String getUsername()
          Gets the String value of username for this instance of RepositoryConfiguration.
 boolean isReleaseEnabled()
          Gets the boolean value of releaseEnabled for this instance of RepositoryConfiguration.
 boolean isSnapshotEnabled()
          Gets the boolean value of snapshotEnabled for this instance of RepositoryConfiguration.
 void setId(java.lang.String id)
          Sets the String value of id for this instance of RepositoryConfiguration.
 void setLayout(java.lang.String layout)
          Sets the String value of layout for this instance of RepositoryConfiguration.
 void setPassword(java.lang.String password)
          Sets the String value of password for this instance of RepositoryConfiguration.
 void setProxyUri(java.net.URI proxyUri)
          Sets the URI value of proxyUri for this instance of RepositoryConfiguration.
 void setReleaseChecksumPolicy(java.lang.String releaseChecksumPolicy)
          Sets the String value of releaseChecksumPolicy for this instance of RepositoryConfiguration.
 void setReleaseEnabled(boolean releaseEnabled)
          Sets the boolean value of releaseEnabled for this instance of RepositoryConfiguration.
 void setReleaseUpdatePolicy(java.lang.String releaseUpdatePolicy)
          Sets the String value of releaseUpdatePolicy for this instance of RepositoryConfiguration.
 void setSnapshotChecksumPolicy(java.lang.String snapshotChecksumPolicy)
          Sets the String value of snapshotChecksumPolicy for this instance of RepositoryConfiguration.
 void setSnapshotEnabled(boolean snapshotEnabled)
          Sets the boolean value of snapshotEnabled for this instance of RepositoryConfiguration.
 void setSnapshotUpdatePolicy(java.lang.String snapshotUpdatePolicy)
          Sets the String value of snapshotUpdatePolicy for this instance of RepositoryConfiguration.
 void setUrl(java.lang.String url)
          Sets the String value of url for this instance of RepositoryConfiguration.
 void setUsername(java.lang.String username)
          Sets the String value of username for this instance of RepositoryConfiguration.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryConfiguration

public RepositoryConfiguration()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getId

public java.lang.String getId()
Gets the String value of id for this instance of RepositoryConfiguration.

Returns:
the id

setId

public void setId(java.lang.String id)
Sets the String value of id for this instance of RepositoryConfiguration.

Parameters:
id - Sets String, default is null

getUrl

public java.lang.String getUrl()
Gets the String value of url for this instance of RepositoryConfiguration.

Returns:
the url

setUrl

public void setUrl(java.lang.String url)
Sets the String value of url for this instance of RepositoryConfiguration.

Parameters:
url - Sets String, default is null

getLayout

public java.lang.String getLayout()
Gets the String value of layout for this instance of RepositoryConfiguration.

Returns:
the layout

setLayout

public void setLayout(java.lang.String layout)
Sets the String value of layout for this instance of RepositoryConfiguration.

Parameters:
layout - Sets String, default is 'default'

getUsername

public java.lang.String getUsername()
Gets the String value of username for this instance of RepositoryConfiguration.

Returns:
the username

setUsername

public void setUsername(java.lang.String username)
Sets the String value of username for this instance of RepositoryConfiguration.

Parameters:
username - Sets String, default is null

getPassword

public java.lang.String getPassword()
Gets the String value of password for this instance of RepositoryConfiguration.

Returns:
the password

setPassword

public void setPassword(java.lang.String password)
Sets the String value of password for this instance of RepositoryConfiguration.

Parameters:
password - Sets String, default is null

isReleaseEnabled

public boolean isReleaseEnabled()
Gets the boolean value of releaseEnabled for this instance of RepositoryConfiguration.

Returns:
the releaseEnabled

setReleaseEnabled

public void setReleaseEnabled(boolean releaseEnabled)
Sets the boolean value of releaseEnabled for this instance of RepositoryConfiguration.

Parameters:
releaseEnabled - Sets boolean, default is true

getReleaseUpdatePolicy

public java.lang.String getReleaseUpdatePolicy()
Gets the String value of releaseUpdatePolicy for this instance of RepositoryConfiguration.

Returns:
the releaseUpdatePolicy

setReleaseUpdatePolicy

public void setReleaseUpdatePolicy(java.lang.String releaseUpdatePolicy)
Sets the String value of releaseUpdatePolicy for this instance of RepositoryConfiguration.

Parameters:
releaseUpdatePolicy - Sets String, default is RepositoryPolicy.UPDATE_POLICY_DAILY

getReleaseChecksumPolicy

public java.lang.String getReleaseChecksumPolicy()
Gets the String value of releaseChecksumPolicy for this instance of RepositoryConfiguration.

Returns:
the releaseChecksumPolicy

setReleaseChecksumPolicy

public void setReleaseChecksumPolicy(java.lang.String releaseChecksumPolicy)
Sets the String value of releaseChecksumPolicy for this instance of RepositoryConfiguration.

Parameters:
releaseChecksumPolicy - Sets String, default is RepositoryPolicy.CHECKSUM_POLICY_WARN

isSnapshotEnabled

public boolean isSnapshotEnabled()
Gets the boolean value of snapshotEnabled for this instance of RepositoryConfiguration.

Returns:
the snapshotEnabled

setSnapshotEnabled

public void setSnapshotEnabled(boolean snapshotEnabled)
Sets the boolean value of snapshotEnabled for this instance of RepositoryConfiguration.

Parameters:
snapshotEnabled - Sets boolean, default is false

getSnapshotUpdatePolicy

public java.lang.String getSnapshotUpdatePolicy()
Gets the String value of snapshotUpdatePolicy for this instance of RepositoryConfiguration.

Returns:
the snapshotUpdatePolicy

setSnapshotUpdatePolicy

public void setSnapshotUpdatePolicy(java.lang.String snapshotUpdatePolicy)
Sets the String value of snapshotUpdatePolicy for this instance of RepositoryConfiguration.

Parameters:
snapshotUpdatePolicy - Sets String, default is RepositoryPolicy.UPDATE_POLICY_DAILY

getSnapshotChecksumPolicy

public java.lang.String getSnapshotChecksumPolicy()
Gets the String value of snapshotChecksumPolicy for this instance of RepositoryConfiguration.

Returns:
the snapshotChecksumPolicy

setSnapshotChecksumPolicy

public void setSnapshotChecksumPolicy(java.lang.String snapshotChecksumPolicy)
Sets the String value of snapshotChecksumPolicy for this instance of RepositoryConfiguration.

Parameters:
snapshotChecksumPolicy - Sets String, default is RepositoryPolicy.CHECKSUM_POLICY_WARN

setProxyUri

public void setProxyUri(java.net.URI proxyUri)
Sets the URI value of proxyUri for this instance of RepositoryConfiguration.

Parameters:
proxyUri - Sets URI, default is TODO add default

getProxyUri

public java.net.URI getProxyUri()
Gets the URI value of proxyUri for this instance of RepositoryConfiguration.

Returns:
the proxyUri


Copyright © 2013 FuseSource. All Rights Reserved.