本文整理匯總了Java中org.codehaus.mojo.keytool.requests.KeyToolChangeStorePasswordRequest類的典型用法代碼示例。如果您正苦於以下問題:Java KeyToolChangeStorePasswordRequest類的具體用法?Java KeyToolChangeStorePasswordRequest怎麽用?Java KeyToolChangeStorePasswordRequest使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
KeyToolChangeStorePasswordRequest類屬於org.codehaus.mojo.keytool.requests包,在下文中一共展示了KeyToolChangeStorePasswordRequest類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: createKeytoolRequest
import org.codehaus.mojo.keytool.requests.KeyToolChangeStorePasswordRequest; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
protected KeyToolChangeStorePasswordRequest createKeytoolRequest()
{
KeyToolChangeStorePasswordRequest request = super.createKeytoolRequest();
request.setNewPassword( this.newPassword );
return request;
}
示例2: ChangeStorePasswordMojo
import org.codehaus.mojo.keytool.requests.KeyToolChangeStorePasswordRequest; //導入依賴的package包/類
/**
* Default contructor.
*/
public ChangeStorePasswordMojo()
{
super( KeyToolChangeStorePasswordRequest.class );
}
示例3: build
import org.codehaus.mojo.keytool.requests.KeyToolChangeStorePasswordRequest; //導入依賴的package包/類
/**
* Fill the commandline client for the given {@code request}.
*
* @param request the keytool request to consume
* @param cli the commandline client to prepare
*/
protected void build( KeyToolChangeStorePasswordRequest request, Commandline cli )
{
addKeytoolCommandAndDefaultoptions( cli, "-storepasswd", request );
addArgIfNotEmpty( cli, "-new", request.getNewPassword() );
}