public class TargetSelector extends Object implements Serializable
| Constructor and Description |
|---|
TargetSelector()
No args constructor for use in serialization
|
TargetSelector(String name,
List<PortSelector> ports) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
List<PortSelector> |
getPorts() |
void |
setName(String name) |
void |
setPorts(List<PortSelector> ports) |
public TargetSelector()
public TargetSelector(String name, List<PortSelector> ports)
name - ports - public String getName()
public void setName(String name)
public List<PortSelector> getPorts()
public void setPorts(List<PortSelector> ports)
Copyright © 2017–2018 Red Hat. All rights reserved.