Package jadex.base.gui.reposearch
Class RepositorySearchPanel.RepositoryInfo
- java.lang.Object
-
- jadex.base.gui.reposearch.RepositorySearchPanel.RepositoryInfo
-
- Enclosing class:
- RepositorySearchPanel
public static class RepositorySearchPanel.RepositoryInfo extends java.lang.Object
Repository info class.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
cachedir
The repo cache dir.protected org.apache.maven.index.context.IndexingContext
context
The indexing context.protected boolean
idxup
Flag if index update is running.protected java.lang.String
indexdir
The repo index dir.protected java.lang.String
name
The name (and id).protected java.lang.String
url
The repo url.
-
Constructor Summary
Constructors Constructor Description RepositoryInfo(java.lang.String name, java.lang.String url)
Create a new repository info.RepositoryInfo(java.lang.String name, java.lang.String url, java.lang.String cachedir, java.lang.String indexdir)
Create a new repository info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Test if equals.java.lang.String
getCachedir()
Get the cachedir.org.apache.maven.index.context.IndexingContext
getContext()
Get the context.java.lang.String
getIndexdir()
Get the indexdir.java.lang.String
getName()
Get the name.java.lang.String
getUrl()
Get the url.int
hashCode()
Get the hashcode.boolean
isIndexUpdating()
Get the indexUpdating.void
setCachedir(java.lang.String cachedir)
Set the cachedir.void
setContext(org.apache.maven.index.context.IndexingContext context)
Set the context.void
setIndexdir(java.lang.String indexdir)
Set the indexdir.void
setIndexUpdating(boolean indexUpdating)
Set the indexUpdating.void
setName(java.lang.String name)
Set the name.void
setUrl(java.lang.String url)
Set the url.java.lang.String
toString()
Get the string representation.
-
-
-
Field Detail
-
name
protected java.lang.String name
The name (and id).
-
url
protected java.lang.String url
The repo url.
-
cachedir
protected java.lang.String cachedir
The repo cache dir.
-
indexdir
protected java.lang.String indexdir
The repo index dir.
-
context
protected org.apache.maven.index.context.IndexingContext context
The indexing context.
-
idxup
protected boolean idxup
Flag if index update is running.
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
setName
public void setName(java.lang.String name)
Set the name.- Parameters:
name
- The name to set.
-
getUrl
public java.lang.String getUrl()
Get the url.- Returns:
- The url.
-
setUrl
public void setUrl(java.lang.String url)
Set the url.- Parameters:
url
- The url to set.
-
getCachedir
public java.lang.String getCachedir()
Get the cachedir.- Returns:
- The cachedir.
-
setCachedir
public void setCachedir(java.lang.String cachedir)
Set the cachedir.- Parameters:
cachedir
- The cachedir to set.
-
getIndexdir
public java.lang.String getIndexdir()
Get the indexdir.- Returns:
- The indexdir.
-
setIndexdir
public void setIndexdir(java.lang.String indexdir)
Set the indexdir.- Parameters:
indexdir
- The indexdir to set.
-
getContext
public org.apache.maven.index.context.IndexingContext getContext()
Get the context.- Returns:
- The context.
-
setContext
public void setContext(org.apache.maven.index.context.IndexingContext context)
Set the context.- Parameters:
context
- The context to set.
-
isIndexUpdating
public boolean isIndexUpdating()
Get the indexUpdating.- Returns:
- The indexUpdating.
-
setIndexUpdating
public void setIndexUpdating(boolean indexUpdating)
Set the indexUpdating.- Parameters:
indexUpdating
- The indexUpdating to set.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The string representation.
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equals.- Overrides:
equals
in classjava.lang.Object
-
-