本文整理了Java中org.commonjava.aprox.model.core.Group.removeConstituent()
方法的一些代码示例,展示了Group.removeConstituent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Group.removeConstituent()
方法的具体详情如下:
包路径:org.commonjava.aprox.model.core.Group
类名称:Group
方法名:removeConstituent
暂无
代码示例来源:origin: org.commonjava.aprox/aprox-model-core-java
public boolean removeConstituent( final ArtifactStore constituent )
{
return constituent != null && removeConstituent( constituent.getKey() );
}
代码示例来源:origin: org.commonjava.aprox/aprox-core
private void processChanged( final ArtifactStore store )
{
final StoreKey key = store.getKey();
try
{
final Set<Group> groups = proxyDataManager.getGroupsContaining( key );
for ( final Group group : groups )
{
group.removeConstituent( key );
proxyDataManager.storeArtifactStore( group, new ChangeSummary( ChangeSummary.SYSTEM_USER,
"Auto-update groups containing: " + key
+ " (to maintain consistency)" ),
false, false,
new EventMetadata().set( StoreDataManager.EVENT_ORIGIN,
GROUP_CONSISTENCY_ORIGIN ) );
}
changeSync.setChanged();
}
catch ( final AproxDataException e )
{
logger.error( String.format( "Failed to remove group constituent listings for: %s. Error: %s", key,
e.getMessage() ), e );
}
}
代码示例来源:origin: org.commonjava.aprox/aprox-autoprox-common
if ( store == null )
g.removeConstituent( key );
代码示例来源:origin: org.commonjava.aprox/aprox-promote-common
target.removeConstituent( request.getSource() );
try
内容来源于网络,如有侵权,请联系作者删除!