Project

General

Profile

« Previous | Next » 

Revision 6135

add option for replicating system metadata (dataone)
https://redmine.dataone.org/issues/1626

View differences:

ReplicationServer.java
42 42
                                           //it is relative to replcation
43 43
                                           //if replication is false, it should
44 44
                                           //be false
45
  private boolean systemMetadataReplication = false; //replicate system metadata or not
45 46
  private boolean hub = false; //it is hub or not. Hub means the localhost can
46 47
                               //replcate documents to the server if the 
47 48
                               //document's home server is not localhost
48 49
  /**
49
   * Consturctor of ReplicationServer
50
   * Constructor of ReplicationServer
50 51
   */
51 52
  public ReplicationServer()
52 53
  {
......
125 126
    this.dataReplication = myDataReplication;
126 127
  }//setDataReplication   
127 128
   
128
  /**
129
  public boolean isSystemMetadataReplication() {
130
	return systemMetadataReplication;
131
}
132

  
133
public void setSystemMetadataReplication(boolean systemMetadataReplication) {
134
	this.systemMetadataReplication = systemMetadataReplication;
135
}
136

  
137
/**
129 138
   * Get hub option
130 139
   */
131 140
  public boolean getHub()

Also available in: Unified diff