コンストラクタと説明 |
---|
AccessContextInitializer()
Creates a new rule with blank user and current timestamp.
|
AccessContextInitializer(String user)
Creates a new rule with specified username and current timestamp.
|
AccessContextInitializer(String user,
String timestamp)
Creates a new rule with specified username and timestamp.
|
AccessContextInitializer(String user,
String timestamp,
String process)
Creates a new rule with specified username, timestamp and processname.
|
AccessContextInitializer(String user,
Timestamp timestamp)
Creates a new rule with specified username and timestamp.
|
AccessContextInitializer(String user,
Timestamp timestamp,
String process)
Creates a new rule with specified username, timestamp and processname.
|
AccessContextInitializer(String user,
Timestamp timestamp,
String process,
String module)
Creates a new rule with specified username, timestmap, processname and modulename.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Statement |
apply(Statement base,
Description description) |
AccessContextInitializer |
module(String module)
Rest current module on thread.
|
AccessContextInitializer |
process(String process)
Reset current process on thread.
|
AccessContextInitializer |
timestamp(String timestamp)
Reset current timestamp on thread.
|
AccessContextInitializer |
user(String user)
Reset current user on thread.
|
public AccessContextInitializer()
public AccessContextInitializer(String user)
user
- the name of current userpublic AccessContextInitializer(String user, String timestamp)
timestamp
is parsed flexibly by DfTypeUtil.user
- the name of current usertimestamp
- the timestamp string 'yyyy-MM-dd HH:mm:ss.SSS'public AccessContextInitializer(String user, String timestamp, String process)
user
- the name of current usertimestamp
- the timestamp string 'yyyy-MM-dd HH:mm:ss.SSS'process
- the name of current processpublic AccessContextInitializer(String user, Timestamp timestamp)
user
- the name of current usertimestamp
- the timestamppublic AccessContextInitializer(String user, Timestamp timestamp, String process)
user
- the name of current usertimestamp
- the timestampprocess
- the name of current processpublic AccessContextInitializer(String user, Timestamp timestamp, String process, String module)
user
- the name of current usertimestamp
- the timestampprocess
- the name of current processmodule
- the name of current modulepublic Statement apply(Statement base, Description description)
public AccessContextInitializer user(String user)
user
- the name of userpublic AccessContextInitializer process(String process)
process
- the name of processpublic AccessContextInitializer module(String module)
module
- the name of modulepublic AccessContextInitializer timestamp(String timestamp)
timestamp
- the name of timestmapCopyright © 2015 The DBFlute Project. All rights reserved.