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.ObjectRepository info class.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcachedirThe repo cache dir.protected org.apache.maven.index.context.IndexingContextcontextThe indexing context.protected booleanidxupFlag if index update is running.protected java.lang.StringindexdirThe repo index dir.protected java.lang.StringnameThe name (and id).protected java.lang.StringurlThe 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 booleanequals(java.lang.Object obj)Test if equals.java.lang.StringgetCachedir()Get the cachedir.org.apache.maven.index.context.IndexingContextgetContext()Get the context.java.lang.StringgetIndexdir()Get the indexdir.java.lang.StringgetName()Get the name.java.lang.StringgetUrl()Get the url.inthashCode()Get the hashcode.booleanisIndexUpdating()Get the indexUpdating.voidsetCachedir(java.lang.String cachedir)Set the cachedir.voidsetContext(org.apache.maven.index.context.IndexingContext context)Set the context.voidsetIndexdir(java.lang.String indexdir)Set the indexdir.voidsetIndexUpdating(boolean indexUpdating)Set the indexUpdating.voidsetName(java.lang.String name)Set the name.voidsetUrl(java.lang.String url)Set the url.java.lang.StringtoString()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:
toStringin classjava.lang.Object- Returns:
- The string representation.
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equals.- Overrides:
equalsin classjava.lang.Object
-
-