public abstract class Widget extends Model {
- public static final String GENERATOR_AAI_CONFIGLPROP_NOT_FOUND = "Cannot generate artifacts. Widget configuration not found for %s";
+ public static final String GENERATOR_AAI_CONFIGLPROP_NOT_FOUND =
+ "Cannot generate artifacts. Widget configuration not found for %s";
public enum Type {
- SERVICE, VF, VFC, VSERVER, VOLUME, FLAVOR, TENANT, VOLUME_GROUP, LINT, L3_NET, VFMODULE, IMAGE, OAM_NETWORK, ALLOTTED_RESOURCE, TUNNEL_XCONNECT, CONFIGURATION, CR;
+ SERVICE,
+ VF,
+ VFC,
+ VSERVER,
+ VOLUME,
+ FLAVOR,
+ TENANT,
+ VOLUME_GROUP,
+ LINT,
+ L3_NET,
+ VFMODULE,
+ IMAGE,
+ OAM_NETWORK,
+ ALLOTTED_RESOURCE,
+ TUNNEL_XCONNECT,
+ CONFIGURATION,
+ CR,
+ INSTANCE_GROUP;
}
private static Logger log = LogHelper.INSTANCE;
typeToWidget.put(Type.TUNNEL_XCONNECT, TunnelXconnectWidget.class);
typeToWidget.put(Type.CONFIGURATION, ConfigurationWidget.class);
typeToWidget.put(Type.CR, CRWidget.class);
+ typeToWidget.put(Type.INSTANCE_GROUP, InstanceGroupWidget.class);
}
/**
* Gets widget.
*
- * @param type
- * the type
+ * @param type the type
* @return the widget
*/
public static Widget getWidget(Type type) {
/**
* Equals method that compares Widget IDs.
*
- * @param obj
- * the Widget object to compare
+ * @param obj the Widget object to compare
* @return whether or not obj is equal to this Widget
*/
@Override
/**
* Determine whether one or more keys belonging to this Widget appear in the specified Collection.
*
- * @param keys
- * the keys
+ * @param keys the keys
* @return the boolean
*/
public boolean memberOf(Collection<String> keys) {
public boolean addWidget(Widget widget) {
return true;
}
-
}