public class ConnectionMeta extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionMeta.Builder<T extends ConnectionMeta.Builder>
Creates ConnectionMeta objects.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
name |
protected Map<String,String> |
properties |
protected ConnectionType |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionMeta(ConnectionType type,
String name,
String description,
Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionMeta.Builder |
builder() |
static <T extends ConnectionMeta> |
builder(T existing) |
boolean |
equals(Object o) |
String |
getDescription() |
String |
getName() |
Map<String,String> |
getProperties() |
ConnectionType |
getType() |
int |
hashCode() |
void |
validate()
Should be called if this object is created through deserialization of user input.
|
protected final ConnectionType type
protected final String name
protected final String description
public ConnectionType getType()
public String getName()
public String getDescription()
public void validate()
IllegalArgumentException - if the object is invalid.public static ConnectionMeta.Builder builder()
public static <T extends ConnectionMeta> ConnectionMeta.Builder builder(T existing)
Copyright © 2023 CDAP Licensed under the Apache License, Version 2.0.