|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pmease.quickbuild.execution.SecretMasker
public abstract class SecretMasker
This class can be used to mask out sensitive information in the command. For example you may replace matched password with "*****"
| Constructor Summary | |
|---|---|
SecretMasker()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
mask(java.lang.String command)
Replace sensitive information in the constructed command and return the result. |
protected java.lang.String |
quoteIfNecessary(java.lang.String token)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecretMasker()
| Method Detail |
|---|
protected java.lang.String quoteIfNecessary(java.lang.String token)
public abstract java.lang.String mask(java.lang.String command)
command - the constructed command sent to OS for executing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||