本文整理汇总了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() );
}