public class StoragePathAdapter extends AdapterImpl
Adapter.Internal
target
Constructor and Description |
---|
StoragePathAdapter(String storagePath,
boolean isLocal)
Default constructor.
|
StoragePathAdapter(String storagePath,
boolean isLocal,
String commitId,
String username)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommitId()
Getter for the commit id.
|
String |
getStoragePath() |
String |
getUsername()
Getter for the commit owner username.
|
boolean |
isAdapterForType(Object type) |
boolean |
isLocal() |
getTarget, notifyChanged, setTarget, unsetTarget
public StoragePathAdapter(String storagePath, boolean isLocal)
storagePath
- The storage path to remember.isLocal
- Whether this storage was local.public StoragePathAdapter(String storagePath, boolean isLocal, String commitId, String username)
storagePath
- The storage path to remember.isLocal
- Whether this storage was local.commitId
- The identifier of the commit.username
- The username of the owner of the commit.public boolean isAdapterForType(Object type)
isAdapterForType
in interface Adapter
isAdapterForType
in class AdapterImpl
public String getCommitId()
public String getUsername()
public String getStoragePath()
public boolean isLocal()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.