33 lines
708 B
Java
33 lines
708 B
Java
package org.gcube.dataanalysis.dataminer.poolmanager.ansible.model;
|
|
|
|
***REMOVED***
|
|
import java.util.Vector;
|
|
|
|
public class Playbook ***REMOVED***
|
|
|
|
private String hostGroupName;
|
|
|
|
private List<String> roles;
|
|
|
|
public Playbook() ***REMOVED***
|
|
this.roles = new Vector<>();
|
|
***REMOVED***
|
|
|
|
public void addRole(String role) ***REMOVED***
|
|
roles.add(role);
|
|
***REMOVED***
|
|
|
|
public void applyTo(String hostGroupName) ***REMOVED***
|
|
this.hostGroupName = hostGroupName;
|
|
***REMOVED***
|
|
|
|
public String getHostGroupName() ***REMOVED***
|
|
return hostGroupName;
|
|
***REMOVED***
|
|
|
|
public List<String> getRoles() ***REMOVED***
|
|
return new Vector<>(roles);
|
|
***REMOVED***
|
|
|
|
***REMOVED***
|