org.gcube.common.core.contexts.ghn
Class Builder
java.lang.Object
org.gcube.common.core.contexts.ghn.Builder
public class Builder
- extends Object
GHN builder: build and update a GHN resource
- Author:
- Manuele Simi (CNR-ISTI)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Builder
public Builder()
createGHNResource
public static void createGHNResource(GHNContext context)
throws GCUBEResource.InvalidScopeException
- Initialises the GHN resource within a given GHNContext
- Parameters:
context - the context.
- Throws:
GCUBEResource.InvalidScopeException - if no valid scope is found for the GHN.
updateGHNResource
public static void updateGHNResource(GHNContext context,
boolean... startup)
- Used internally to update the GHN resource within a given GHNContext.
- Parameters:
context - the contextstartup - states if it is the first update
Copyright © 2013. All Rights Reserved.