com.atlassian.fisheye.spi.data
Class RepositoryDataFE

java.lang.Object
  extended by com.atlassian.fisheye.spi.data.RepositoryDataFE

public class RepositoryDataFE
extends java.lang.Object

Data object for information about a fisheye repository


Nested Class Summary
static class RepositoryDataFE.RepositoryState
          Enumeration listing the possible states of the repository
 
Constructor Summary
RepositoryDataFE()
           
RepositoryDataFE(java.lang.String name, boolean enabled, RepositoryDataFE.RepositoryState state)
           
 
Method Summary
 java.lang.String getName()
           
 RepositoryDataFE.RepositoryState getState()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void setName(java.lang.String name)
           
 void setState(RepositoryDataFE.RepositoryState state)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryDataFE

public RepositoryDataFE(java.lang.String name,
                        boolean enabled,
                        RepositoryDataFE.RepositoryState state)
Parameters:
name - the name of the repository
enabled - true if the repository is currently enabled
state - the current state of the repository

RepositoryDataFE

public RepositoryDataFE()
Method Detail

setName

public void setName(java.lang.String name)

setEnabled

public void setEnabled(boolean enabled)

setState

public void setState(RepositoryDataFE.RepositoryState state)

getState

public RepositoryDataFE.RepositoryState getState()
Returns:
the current state of the repository

isEnabled

public boolean isEnabled()
Returns:
true if the repository is currently enabled

getName

public java.lang.String getName()
Returns:
the name of the repository

toString

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