moved down local status as well

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/admin/rmp-common-library@65436 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2012-12-28 23:56:34 +00:00
parent 1a827c17f0
commit da7ca3319f
2 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,42 @@
/****************************************************************************
* This software is part of the gCube Project.
* Site: http://www.gcube-system.org/
****************************************************************************
* The gCube/gCore software is licensed as Free Open Source software
* conveying to the EUPL (http://ec.europa.eu/idabc/eupl).
* The software and documentation is provided by its authors/distributors
* "as is" and no expressed or
* implied warranty is given for its use, quality or fitness for a
* particular case.
****************************************************************************
* Filename: LocalStatus.java
****************************************************************************
* @author <a href="mailto:daniele.strollo@isti.cnr.it">Daniele Strollo</a>
***************************************************************************/
package org.gcube.resourcemanagement.support.client.utils;
import java.util.List;
import java.util.Vector;
/**
* Here represented the local status of the client side application.
* @author Daniele Strollo (ISTI-CNR)
*/
public class LocalStatus {
private final List<String> availableScopes = new Vector<String>();
private final List<String> deployReports = new Vector<String>();
private static final LocalStatus INSTANCE = new LocalStatus();
public static synchronized LocalStatus getInstance() {
return INSTANCE;
}
public final List<String> getAvailableScopes() {
return this.availableScopes;
}
public final List<String> getDeployReports() {
return this.deployReports;
}
}

View File

@ -14,7 +14,7 @@
* @author <a href="mailto:daniele.strollo@isti.cnr.it">Daniele Strollo</a>
***************************************************************************/
package org.gcube.resourcemanagement.support.shared;
package org.gcube.resourcemanagement.support.shared.util;
import java.util.HashMap;
import java.util.Map;