|
|
|
@ -4,16 +4,12 @@ import java.io.Serializable;
|
|
|
|
|
|
|
|
|
|
import org.gcube.portal.wssynclibrary.shared.thredds.Status;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Auto-generated Javadoc
|
|
|
|
|
/**
|
|
|
|
|
* The Class WsThreddsSynchFolderConfiguration.
|
|
|
|
|
*
|
|
|
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
|
|
|
|
* Feb 16, 2018
|
|
|
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Feb 16, 2018
|
|
|
|
|
*/
|
|
|
|
|
public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
|
|
|
|
|
public class WsThreddsSynchFolderConfiguration implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
@ -31,28 +27,27 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
/** The to create catalog name. */
|
|
|
|
|
private String catalogName;
|
|
|
|
|
|
|
|
|
|
private Status status; //just for serialization
|
|
|
|
|
private Status status; // just for serialization
|
|
|
|
|
|
|
|
|
|
private String rootFolderId;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Instantiates a new ws thredds synch folder configuration.
|
|
|
|
|
*/
|
|
|
|
|
public WsThreddsSynchFolderConfiguration() {
|
|
|
|
|
// TODO Auto-generated constructor stub
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Instantiates a new ws thredds synch folder configuration.
|
|
|
|
|
*
|
|
|
|
|
* @param remotePath the remote path
|
|
|
|
|
* @param theVRE the the vre
|
|
|
|
|
* @param filter the filter
|
|
|
|
|
* @param remotePath the remote path
|
|
|
|
|
* @param theVRE the the vre
|
|
|
|
|
* @param filter the filter
|
|
|
|
|
* @param catalogName the catalog name
|
|
|
|
|
*/
|
|
|
|
|
public WsThreddsSynchFolderConfiguration(String remotePath, GcubeScope theVRE, String filter, String catalogName, String rootFolderId) {
|
|
|
|
|
public WsThreddsSynchFolderConfiguration(String remotePath, GcubeScope theVRE, String filter, String catalogName,
|
|
|
|
|
String rootFolderId) {
|
|
|
|
|
super();
|
|
|
|
|
this.remotePath = remotePath;
|
|
|
|
|
this.selectedScope = theVRE;
|
|
|
|
@ -61,7 +56,6 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
this.rootFolderId = rootFolderId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param rootFolderId the rootFolderId to set
|
|
|
|
|
*/
|
|
|
|
@ -70,7 +64,6 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
this.rootFolderId = rootFolderId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return the rootFolderId
|
|
|
|
|
*/
|
|
|
|
@ -79,7 +72,6 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
return rootFolderId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Gets the remote path.
|
|
|
|
|
*
|
|
|
|
@ -98,7 +90,6 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
this.remotePath = remotePath;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return the selectedScope
|
|
|
|
|
*/
|
|
|
|
@ -107,17 +98,6 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
return selectedScope;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return the status
|
|
|
|
|
*/
|
|
|
|
|
public Status getStatus() {
|
|
|
|
|
|
|
|
|
|
return status;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param selectedScope the selectedScope to set
|
|
|
|
|
*/
|
|
|
|
@ -126,17 +106,6 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
this.selectedScope = selectedScope;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param status the status to set
|
|
|
|
|
*/
|
|
|
|
|
public void setStatus(Status status) {
|
|
|
|
|
|
|
|
|
|
this.status = status;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Gets the filter.
|
|
|
|
|
*
|
|
|
|
@ -173,8 +142,9 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
this.catalogName = catalogName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* (non-Javadoc)
|
|
|
|
|
/*
|
|
|
|
|
* (non-Javadoc)
|
|
|
|
|
*
|
|
|
|
|
* @see java.lang.Object#toString()
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
@ -197,5 +167,4 @@ public class WsThreddsSynchFolderConfiguration implements Serializable{
|
|
|
|
|
return builder.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|