{"action":"closed","issue":{"url":"https://api.github.com/repos/LaNoC-UFC/rsbr/issues/106","repository_url":"https://api.github.com/repos/LaNoC-UFC/rsbr","labels_url":"https://api.github.com/repos/LaNoC-UFC/rsbr/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/LaNoC-UFC/rsbr/issues/106/comments","events_url":"https://api.github.com/repos/LaNoC-UFC/rsbr/issues/106/events","html_url":"https://github.com/LaNoC-UFC/rsbr/issues/106","id":194333230,"number":106,"title":"Use a Visitor to add restrictions into Segments","user":{"login":"jmarcelof","id":9330402,"avatar_url":"https://avatars.githubusercontent.com/u/9330402?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarcelof","html_url":"https://github.com/jmarcelof","followers_url":"https://api.github.com/users/jmarcelof/followers","following_url":"https://api.github.com/users/jmarcelof/following{/other_user}","gists_url":"https://api.github.com/users/jmarcelof/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarcelof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarcelof/subscriptions","organizations_url":"https://api.github.com/users/jmarcelof/orgs","repos_url":"https://api.github.com/users/jmarcelof/repos","events_url":"https://api.github.com/users/jmarcelof/events{/privacy}","received_events_url":"https://api.github.com/users/jmarcelof/received_events","type":"User","site_admin":false},"labels":[{"id":156505322,"url":"https://api.github.com/repos/LaNoC-UFC/rsbr/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":156505323,"url":"https://api.github.com/repos/LaNoC-UFC/rsbr/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":{"login":"jmarcelof","id":9330402,"avatar_url":"https://avatars.githubusercontent.com/u/9330402?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarcelof","html_url":"https://github.com/jmarcelof","followers_url":"https://api.github.com/users/jmarcelof/followers","following_url":"https://api.github.com/users/jmarcelof/following{/other_user}","gists_url":"https://api.github.com/users/jmarcelof/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarcelof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarcelof/subscriptions","organizations_url":"https://api.github.com/users/jmarcelof/orgs","repos_url":"https://api.github.com/users/jmarcelof/repos","events_url":"https://api.github.com/users/jmarcelof/events{/privacy}","received_events_url":"https://api.github.com/users/jmarcelof/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmarcelof","id":9330402,"avatar_url":"https://avatars.githubusercontent.com/u/9330402?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarcelof","html_url":"https://github.com/jmarcelof","followers_url":"https://api.github.com/users/jmarcelof/followers","following_url":"https://api.github.com/users/jmarcelof/following{/other_user}","gists_url":"https://api.github.com/users/jmarcelof/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarcelof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarcelof/subscriptions","organizations_url":"https://api.github.com/users/jmarcelof/orgs","repos_url":"https://api.github.com/users/jmarcelof/repos","events_url":"https://api.github.com/users/jmarcelof/events{/privacy}","received_events_url":"https://api.github.com/users/jmarcelof/received_events","type":"User","site_admin":false},{"login":"matheus220","id":19396079,"avatar_url":"https://avatars.githubusercontent.com/u/19396079?v=3","gravatar_id":"","url":"https://api.github.com/users/matheus220","html_url":"https://github.com/matheus220","followers_url":"https://api.github.com/users/matheus220/followers","following_url":"https://api.github.com/users/matheus220/following{/other_user}","gists_url":"https://api.github.com/users/matheus220/gists{/gist_id}","starred_url":"https://api.github.com/users/matheus220/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheus220/subscriptions","organizations_url":"https://api.github.com/users/matheus220/orgs","repos_url":"https://api.github.com/users/matheus220/repos","events_url":"https://api.github.com/users/matheus220/events{/privacy}","received_events_url":"https://api.github.com/users/matheus220/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-12-08T13:16:41Z","updated_at":"2016-12-28T18:45:23Z","closed_at":"2016-12-28T18:45:23Z","body":"* Define a SegmentVisitor interface.\r\n* Add a method 'accept' on Segment, based on isStarting/isUnitary/isRegular.\r\n* Implement AddRestrictionsSegmentVisitor from SR.setrestrictions.\r\n* Make isStarting/isUnitary/isRegular private.\r\n\r\nMore at [The Visitor Design Pattern](https://sourcemaking.com/design_patterns/visitor). Note that by now we don't need/can make Segment abstract as the construction is step-by-step (it will be solved later)"}}
{"actor":{"display_login":"jmarcelof"}}