
public class GlueRedisDelete extends GlueActivity<GlueContext>
Activity Property
- dao : (필수) applicationContext.xml의 RedisDao의 ID.
- redis-delete-key : (선택) Redis로부터 삭제 할 데이터의 Key 값이 저장된 GlueContext의 Key값
- list-key : (선택) Redis로부터 삭제 할 데이터의 Key값이 List일 경우 해당 List의 Key.
list-key값이 있을 경우 redis-delete-key값은 설정할 필요가 없다.
- chk-name : (선택) redis-delete-key에 설정된 값으로
GlueContext에서 가져온 데이타가 String[] 일때 Key배열에서 일부만 삭제하고
싶을 경우 삭제할 Key의 index값을 가진 배열이 저장된 GlueContext의 Key 값.
- result-key : (선택) GlueContext에 결과(Delete 건수)를 저장할 Key
예제
사용 예# 1
dynamicProperties, logger| Constructor and Description |
|---|
GlueRedisDelete() |
| Modifier and Type | Method and Description |
|---|---|
String |
runActivity(GlueContext ctx)
Sub Class에서 반드시 구현하여야 하는 Abstract Method 이며 이 Method는 F/W에서 호출한다.
|
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransitionpublic String runActivity(GlueContext ctx)
GlueActivityrunActivity in class GlueActivity<GlueContext>ctx - GlueContext예)==> return "success"이면 BizLogic Activity 를 실행함.
Copyright © 2013–2021 POSCO ICT. All rights reserved.