|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.repository.testframework.FakeSettingsController
public class FakeSettingsController
A simple SettingsController where values can be set directly.
| Constructor Summary | |
|---|---|
FakeSettingsController(boolean forceHttp)
|
|
| Method Summary | |
|---|---|
Channel |
getChannel()
Gets the current channel. |
boolean |
getForceHttp()
|
void |
setChannel(Channel channel)
|
void |
setForceHttp(boolean force)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FakeSettingsController(boolean forceHttp)
| Method Detail |
|---|
public boolean getForceHttp()
getForceHttp in interface SettingsControllertrue, all connections should be made using HTTP rather than HTTPS.public void setForceHttp(boolean force)
setForceHttp in interface SettingsControllerforce - If true, all connections should be made using HTTP rather than HTTPS.public void setChannel(Channel channel)
public Channel getChannel()
SettingsController
getChannel in interface SettingsController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||