[Swift-commit] r7847 - trunk/src/org/globus/swift/catalog/site
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Thu May 8 23:58:58 CDT 2014
Author: hategan
Date: 2014-05-08 23:58:58 -0500 (Thu, 08 May 2014)
New Revision: 7847
Added:
trunk/src/org/globus/swift/catalog/site/SwiftContact.java
Log:
added a swift specific contact
Added: trunk/src/org/globus/swift/catalog/site/SwiftContact.java
===================================================================
--- trunk/src/org/globus/swift/catalog/site/SwiftContact.java (rev 0)
+++ trunk/src/org/globus/swift/catalog/site/SwiftContact.java 2014-05-09 04:58:58 UTC (rev 7847)
@@ -0,0 +1,36 @@
+//----------------------------------------------------------------------
+//This code is developed as part of the Java CoG Kit project
+//The terms of the license can be found at http://www.cogkit.org/license
+//This message may not be removed or altered.
+//----------------------------------------------------------------------
+
+/*
+ * Created on Mar 28, 2014
+ */
+package org.globus.swift.catalog.site;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.globus.cog.karajan.util.BoundContact;
+import org.griphyn.vdl.util.FQN;
+
+public class SwiftContact extends BoundContact {
+ private Map<FQN, Object> profiles = new HashMap<FQN, Object>();
+
+ public SwiftContact() {
+ super();
+ }
+
+ public SwiftContact(String host) {
+ super(host);
+ }
+
+ public void addProfile(FQN fqn, String value) {
+ profiles.put(fqn, value);
+ }
+
+ public Map<FQN, Object> getProfiles() {
+ return profiles;
+ }
+}
More information about the Swift-commit
mailing list