org.apache.solr.core
Class CoreDescriptor

java.lang.Object
  extended by org.apache.solr.core.CoreDescriptor
All Implemented Interfaces:
Cloneable

public class CoreDescriptor
extends Object
implements Cloneable

A Solr core descriptor

Since:
solr 1.3

Field Summary
protected  String configName
           
protected  String instanceDir
           
protected  String name
           
protected  String schemaName
           
 
Constructor Summary
CoreDescriptor(CoreContainer coreContainer, String name, String instanceDir)
           
CoreDescriptor(CoreDescriptor descr)
           
 
Method Summary
 String getConfigName()
           
 CoreContainer getCoreContainer()
           
 String getDefaultConfigName()
           
 String getDefaultDataDir()
           
 String getDefaultSchemaName()
           
 String getInstanceDir()
           
 String getName()
           
 String getSchemaName()
           
 void setConfigName(String name)
          Sets the core configuration resource name.
 void setSchemaName(String name)
          Sets the core schema resource name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

instanceDir

protected String instanceDir

configName

protected String configName

schemaName

protected String schemaName
Constructor Detail

CoreDescriptor

public CoreDescriptor(CoreContainer coreContainer,
                      String name,
                      String instanceDir)

CoreDescriptor

public CoreDescriptor(CoreDescriptor descr)
Method Detail

getDefaultConfigName

public String getDefaultConfigName()
Returns:
the default config name.

getDefaultSchemaName

public String getDefaultSchemaName()
Returns:
the default schema name.

getDefaultDataDir

public String getDefaultDataDir()
Returns:
the default data directory.

getInstanceDir

public String getInstanceDir()
Returns:
the core instance directory.

setConfigName

public void setConfigName(String name)
Sets the core configuration resource name.


getConfigName

public String getConfigName()
Returns:
the core configuration resource name.

setSchemaName

public void setSchemaName(String name)
Sets the core schema resource name.


getSchemaName

public String getSchemaName()
Returns:
the core schema resource name.

getName

public String getName()
Returns:
the initial core name

getCoreContainer

public CoreContainer getCoreContainer()


Copyright © 2008 Apache Software Foundation. All Rights Reserved.