com.tek42.perforce.model
Class AbstractViewsSupport
java.lang.Object
com.tek42.perforce.model.AbstractViewsSupport
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Label, Workspace
public abstract class AbstractViewsSupport
- extends Object
- implements Serializable
Provide base support for views.
- Author:
- Mike Wille
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
views
protected List<String> views
dirty
protected boolean dirty
AbstractViewsSupport
public AbstractViewsSupport()
isDirty
public boolean isDirty()
- Has this object's fields been changed since it was created,
or since the last call to clearDirty()?
- Returns:
- true if dirty
markDirty
public final void markDirty()
clearDirty
public final void clearDirty()
getViews
public List<String> getViews()
- Returns:
- the view
getViewsAsString
public String getViewsAsString()
- Returns the list of views concatenated together with \n as delimeters.
- Returns:
getTrimmedViewsAsString
public String getTrimmedViewsAsString()
addView
public void addView(String view)
- Parameters:
view - the view to set
clearViews
public void clearViews()
- Removes all views from this client.
Copyright © 2004-2013 Hudson. All Rights Reserved.