public class Masker extends Object
Constructor and Description |
---|
Masker()
Creates an empty list of Maskable services that this Masker will internally maintain.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(Maskable masked)
Called by blueprint when a service is bound, this method sets the ID of the newly bound
Maskable service to the masked ID if the mask ID has been previously set, and adds the new
service to the internally maintained list of Maskable services.
|
void |
setId(String id)
Set the id of all Maskable sources to be the specified input ID.
|
void |
unbind(Maskable masked)
Called by blueprint when a service is unbound, this method removes the unbound service from the
list of Maskable sources maintained internally by this Masker.
|
public Masker()
public void setId(String id)
id
- public void bind(Maskable masked)
masked
- public void unbind(Maskable masked)
masked
- This work is licensed under a Creative Commons Attribution 4.0 International License.