|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.acceptance.utils.DbCachingTestHelper.PartialSyncTask
public class DbCachingTestHelper.PartialSyncTask
Uses the Builder pattern to create a synchronisation task.
Constructor Summary | |
---|---|
DbCachingTestHelper.PartialSyncTask(java.lang.String directoryName)
|
Method Summary | |
---|---|
DbCachingTestHelper.PartialSyncTask |
maxWaitMs(long maxWaitMs)
Sets the maximum time in milliseconds to wait for synchronisation to finish. |
DbCachingTestHelper.PartialSyncTask |
shortDescription(java.lang.String shortDescription)
Sets a short description of the synchronisation task. |
DbCachingTestHelper.SyncInfo |
sync()
Synchronises the directory and waits until the synchronisation has finished. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbCachingTestHelper.PartialSyncTask(java.lang.String directoryName)
directoryName
- Name of the directory to synchronise.Method Detail |
---|
public DbCachingTestHelper.PartialSyncTask maxWaitMs(long maxWaitMs)
maxWaitMs
- maximum wait time in millisecondspublic DbCachingTestHelper.PartialSyncTask shortDescription(java.lang.String shortDescription)
shortDescription
- of the synchronisation task.public DbCachingTestHelper.SyncInfo sync()
java.lang.RuntimeException
- if the synchronisation doesn't finish within the specified maximum wait time (or
default time if no max wait time was set).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |